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 [email protected]
Suggestions

Hard Logic Brain Teaser

There are 100 doors. 100 strangers have been gathered in the adjacent room. The first one goes and opens every door. The second one goes and shuts down all the even numbered doors – second, fourth, sixth... and so on. The third one goes and reverses the current position of every third door (third, sixth, ninth… and so on.) i.e. if the door is open, he shuts it and if the door is shut, he switches opens it. All the 100 strangers progresses in the similar fashion.

After the last person has done what he wanted, which doors will be left open and which ones will be shut at the end?
category : LOGIC

Logic Fruits Riddle

There is a box full of fruits,
all but two are grapes,
all but two are apples,
and all but two are oranges.

How many fruits are in the box ?
category : LOGIC | MATHS

Game Of Dice Brain Teaser

A unique solo game of dice is being played. Two dices are thrown in each turn and the scores are taken by multiplying the numbers obtained.

Now talking about a particular game, here are the facts:
1) The score for the second roll is five more than the score for the first roll.
2) The score for the third roll is six less than the score for the second roll.
3) The score for the fourth roll is eleven more than the score for the third roll.
4) The score for the fifth roll is eight less than the score for the fourth roll.

Reading the above facts, can you tell the score for each of the five throws?
category : LOGIC

Popular Logical Brain Teaser

A couple had to take shelter in a hotel for they could not proceed their journey in the rain. Having nothing to do at all, they started playing cards. Suddenly there was a short circuit and the lights went off. The husband inverted the position of 15 cards in the deck (52 cards normal deck) and shuffled the deck.

Now he asked his wife to divide the deck into two different piles which may not be equal but both of them should have equal number of cards facing up. There was no source of light in the room and the wife was unable to see the cards.

For a certain amount of time, she thought and then divided the cards in two piles. To the husband’s astonishment, both of the piles had equal number of cards facing up.

How did she do it?
category : LOGIC

Riddle 1 - 1 !=3

Can you move four matchsticks to make the equation true?

Unique Brain Teaser

It takes ten minutes to fry a steak (five minutes for each side). You are frying the steaks in a pan that can accommodate only two steaks at one time. What is the least amount of time by which you can fry all the three steaks you have?

Impossible Brain Teaser

In a recreational activity, you are given four different jars of 2 liters, 4 liters, 6 liters and 8 liters respectively with an unlimited water supply. Then you are asked to measure exactly 5 liters of water using them.

How will you do it?

Best Thinking Brain Teaser Ever

Three men are living in a desert namely – Alex, Brian and Chris.

Alex hates Chris and thus he decides to kill him. To succeed in his evil intentions, he poison the water supply of Chris. Since they are living in desert, he will have to drink water or he will die of thirst.

Brian is not aware of the actions of Alex and he plans to kill Chris as well. To do this, he killed the water supply of Chris.

Chris dies due to his thirst. Who killed him?

Water Measurement Riddle

A barman is having a 12 liters jug full of beer. He needs to divide or split that beer into two equal parts. All he has is two empty jugs of capacity 8 liters and 5 liters.

How will he do it using them?
category : LOGIC | MEASURE

Infoedge Interview Aptitude Problem

On a magical-intellectual land of gpuzzles , all the animal are rational(real smart).

There are six leopards and one sheep.
Leopard can eat sheep but since as the land is magical, the leopards who eats the sheep , turns into sheep and then can be eaten by the remaining leopard(s).

If we leave them for some time then how many sheep and leopard will be there , when we come back ?

Puzzles Tags :

Illusions Tags :