Reverse a linked list. After presenting a solution I was asked to provide a recursive method.
Engineer Intern Interview Questions
18,211 engineer intern interview questions shared by candidates
Play a game that always starts from you. Each time you can only pick up 1 or 3 or 4 coins from the table. Who leaves the enemy with no coins to pick up wins the game. Assume that your enemy is super intelligent that if there is a way he/ she can win, he/ she wins. Question: Write a function to return if you will win or lose the game say given n coins on the table.
How would you find the second largest integer in an unsorted array? Write the code.
How do you check if the 5th bit is a 1 in a binary number
give you a array of color, to count how many kind of color it contained.
Print the element to the right which is more frequent than the element itself.
Be relaxed for the online assessment. Don't become stressed out because you will solve the problems much quicker if you don't stress and overthink.
For the online coding test, fix a for loop so it outputs correctly
Tasks depend on one another. You have to find whether there exists a task A such that it depends on a task B but B depends on A too. What data structure will you use ? How will you proceed with the solution?
What's your favorite data structure?
Viewing 1991 - 2000 interview questions