OneDirect Interview Experience

Round 1:RESUME SCREENING ROUND: The company selected 46 people from 400 students in our college. They selected people based on projects in the field of web development and android development.

Round 2:CODING ROUND: They asked us to write four programs on hackerearth.

Question 1: Take an integer as input and output its next prime number .

Question 2: Identify if a substring in the beginning and at the end of a STRING is the same and print NICE else print NOT.

Question 3: Try to left rotate an integer array and check if it is sorted or not(Use bubblesort)

Question 4: A program based on binary representation of a number.

Write your Interview Experience or mail it to

My Personal Notes arrow_drop_up

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :


Please write to us at to report any issue with the above content.