Edited By Admin
Interview Process   |   Interview Puzzles / Aptitude   |   Technical Questions
Organization : DirectI
Position : Software Developer
My technical Interview questions consists primary of three sections:
1. Program/Algorithm
2. Theoretical
3. Sql

Program/Algorithm Interview Questions
1. Write a recursive function reverseString(string str) that reverses an input string.
Where 'str' is the string to be reversed.

2. Write a function that will find all numbers which appears only once in an array of duplicates.

3. Recursive function to calculate factorial of an number.

4. Write a program to reverse a doubly linked list with/without using extra memory.

5. Sort an array based on frequency of numbers.


Theoretical Interview Questions
1. Which one is quicker and why?
A) Array
B) Link List.

2. How is mutex different from semaphore

3. Complexity of some sorting algos like quick,merge,hash...


Sql Interview Questions
1. Queries on joins(self join + left join)
2. Normalization concept and i was asked to normalize a table.


Thanks Anmol for sharing the details of your interview.
Send more details and your personal experiences info@gpuzzles.com
Discussion
Suggestions
  • Views : 50k+
  • Sol Viewed : 20k+

Candle Trick Teaser Problem

Husband has prepared for a candle light dinner on the honeymoon for his wife. While they were having the dinner, a strong breeze flew through the open window and four candles out of ten were extinguished. After that, the husband closed the window.

How many candles were left in the end?

  • Views : 40k+
  • Sol Viewed : 10k+

Lateral Thinking Problem

Suppose there is a Christmas tree and four angels are sitting on it amidst the other ornaments. Two of them have black halos and two of them have white halos. No body among them can see above their head. Angel A is sitting on the top branch and can see angels B and C sitting below him. B can see C who is sitting in a branch lower than his. Angel D is at the base of the tree and can't be seen due to the branches in between. Also, he can't see anybody as well.

If they are asked to guess the color of their own halo (they dont know that), who do you think will be able to deduce and speak up first with a right answer?

  • Views : 80k+
  • Sol Viewed : 20k+

Logic Math Problem

David and Albert are playing a game. There are digits from 1 to 9. The catch is that each one of them has to cut one digit and add it to his respective sum. The one who is able to obtain a sum of exact 15 will win the game?

You are a friend of David. Do you suggest him to play first or second?

By Admin
  • Views : 70k+
  • Sol Viewed : 20k+

Measure Water Supply Brain Teaser

You had an infinite supply of water and a 5 ml and 3 ml gallons.

How would you measure exactly 4 ml in least number of steps ?

By Admin
  • Views : 90k+
  • Sol Viewed : 30k+

Decipher MatchSticks Puzzle

Can you decipher the two rows to find the hidden word?

  • Views : 70k+
  • Sol Viewed : 20k+

Most Popular Logical Puzzle

Outside a room there are three light switches. One of switch is connected to a light bulb inside the room.
Each of the three switches can be either 'ON' or 'OFF'.

You are allowed to set each switch the way you want it and then enter the room(note: you can enter the room only once)

Your task is to then determine which switch controls the bulb ??

By Admin
  • Views : 80k+
  • Sol Viewed : 20k+

Be Detective And Find The Thief Puzzle

You need to be a detective and need to find the thief in the puzzle below?

By Admin
  • Views : 50k+
  • Sol Viewed : 20k+

Toothpick Donkey Puzzle

The toothpicks in the picture have been arranged to form a donkey shaped figure. You have to move two matchsticks in a way that the entire shape is rotated / reflected while being intact. Also, you can't change the tail's direction it should be pointing up.

  • Views : 60k+
  • Sol Viewed : 20k+

IAS Interview Problem

I need to divide numbers from 1 to 9 into two group such that sum of numbers in one group is equal to the sum of other group.
Note : 6 cannot be flipped over to make it 9.

  • Views : 50k+
  • Sol Viewed : 20k+

Funny Brain Twister

We all know that New Year occurs after a week from Christmas and thus it falls on the same day as of Christmas. But this will not happen in 2050. In 2050, Christmas will appear on Sunday while New Year will appear on Saturday.

How can this be possible ?

Puzzles Tags :

Illusions Tags :