GfG QA is closing soon... Please refer PRACTICE or GfG now on wards !!

can anyone tell me complexity of various inbuilt function of python as of list, set etc

asked Mar 6, 2016 by no3

1 Answer

Most of the inbuilt function of python have same complexity as in C/C++ but some of them are optimized and some of them are generalized so little bit variation can be found, you can look for the complexities on the wiki page of python at :

‚Äčand also look for speed of various operation in python at :

answered Mar 6, 2016 by utkarsh111