re: 20+ basic Algorithms Problems from Coding Interviews VIEW POST

FULL DISCUSSION
 
 

Yes, indeed, that's a nice trick for swapping. It's always better to bring such kind of alternative solution on real interviews, thanks for suggesting that.

code of conduct - report abuse