Top algorithms in interview questions