Tip 1 : Tree, Graph, Backtracking are the most important topic for cracking samsung.
Tip 2 : Pointer concept and OOPs concept is important.
Tip 1 : Single page resume.
Tip 2 : Showcase your achievements using numbers.



I solve the problem using BFS.



In the given linked list, there is a cycle, hence we return true.

What are your hobbies?
What are your strengths and weaknesses?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?