Coding Interview Challenge: Finding Duplicates in an Array

preview_player
Показать описание
In this video series we will be showing you how to write up the algorithm that can find duplicates in an array. This is a coding interview question that comes allot.

#codinginterview #algorithm
Рекомендации по теме
Комментарии
Автор

i never thought of such a simple solution of just using a set

KennyGreenBean
Автор

My 1 liner (that's he'll on effishency) is if(len(set(a))!=len(a))
Please don't run this on anything serious please for the lobe of god

nevokrien