Cursos
Fazer loginComeçar a aprender IA
Cursos
Fazer loginComeçar a aprender IA
0

What is the time complexity of list()?

For example : What is the time complexity of: list('Sad") I'd say it's O(n) linear time but I don't have proof

python3algorithms
21st Oct 2021, 5:16 AM
Richard
Richard - avatar
1 Resposta
0
Maybe these can help you- https://stackoverflow.com/questions/13884177/complexity-of-in-operator-in-JUMP_LINK__&&__python__&&__JUMP_LINK https://www.google.com/amp/s/www.geeksforgeeks.org/complexity-cheat-sheet-for-python-operations/amp/
23rd Oct 2021, 6:15 AM
Sagar Yadav
Sagar Yadav - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Give some simple practice questions in C
0 Votes
Ошибка в приложении Sololearn
1 Votes
Hello guys,
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
Programming
0 Votes
NEO V2.0
1 Votes
how do they use javascript
0 Votes