Tip 1 : Be confident
Tip 2 : Be prepared to write code
Tip 1 : Highlight your skills
Tip 2 : Highlight your projects



U can solve by passing array to set
This will remove all duplicates



1. You can only move one disk in one move.
2. You can not place a larger disk on top of a smaller disk.
3. You can only move the disk at the top of any rod.
You may assume that initially, the size of the ‘i’th disk from the top of the stack is equal to ‘i’, i.e. the disk at the bottom has size ‘N’, the disk above that has size ‘N - 1’, and so on. The disk at the top has size 1.

It is a very famous problem. I had good practice with it. So, I did it easily.
Simple HR Round
Just stay honest and stay confident

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?