Freshworks interview question

Data structures, algorithms and puzzles