Python: Program to remove duplicate items from a list #python #programmer #interviewQuestion

preview_player
Показать описание
python program to remove duplicate items from a list #pythondeveloper #interviewquestion #pythontutorial #python #code #pythonprogramming #programmer
Рекомендации по теме
Комментарии
Автор

I think it could be optimized, maybe you could sort it and check the equals using one for (so instead of O(n^2) it could be maybe a quick sort( should be O( log(n)) and then one for so O(n)

davidevanoncini