Baozi Training Leetcode solution 47 permutations II

preview_player
Показать описание
Baozi Training

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

@George Chen: No, you don't need to unless they ask

BaoziTraining
Автор

Thanks. nice sharing! btw, may I ask two things to this question while tech interviewing?
Is it better to code sorting algo. manually and show interviewer iteration solutions instead of calling built-in method and recursive way. no offense, just curious.

georgechen
Автор

Would you please explain more example why sorting is needed ?

ted
Автор

Why do we need the visited array again?

keworld
join shbcf.ru