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

Interview Balls Puzzle

In a closed jar, there are three strawberry candies, two mango candies and five pineapple candies. You can't see inside the jar. Now, how many toffees you must take out from the jar to make sure that you have one of each flavor?
category : LOGIC

Spot The Difference Christmas Tree Riddle

Can you spot 5 differences in two Christmas tree below?

category : PICTURE

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 ?

Pirates Probability Brain Teaser

You are stuck with the pirates who might even kill you on board. They give you a chance to survive. There are hundred black rocks and hundred red rocks. There are two empty sacks which are labelled as heads and tails respectively. You have to divide the rocks in two bags as per your wish. Then a fair coin will be flipped. If its heads, you will have to pick a rock on random from the sack labelled heads and if its tails, you will pick up from the tails sack. If you pick up a black rock, you will be freed and if you pick up a red rock, you will be killed.

How will you distribute the rocks so that your chances of survival are the best?

Spatial Trivia Physics Puzzle

As shown in picture, there are four gears with the following specification
* Gear A has 60 teeth
* Gear B has 40 teeth
* Gear C has 20 teeth
* Gear D has 60 teeth
* Every minute, Gear B makes 15 complete turns.

What is the relative speed of Gear A and Gear B?

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

Famous Probability Puzzle

This is a famous probability puzzle in which you have to choose the correct answer at random from the four options below.
Can you tell us whats the probability of choosing correct answer in this random manner.

1) 1/4
2) 1/2
3) 1
4) 1/4

Knockout Matches Logical Problem

Let us say that a table tennis tournament was going on with knock out terms which means the one who loses the match is out of the tournament. 100 players took part in that tournament.

How many matches were played?

Decipher MatchSticks Puzzle

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

Logic Problem Brain Teaser

The world is facing a serious viral infection. The government of various countries have issued every citizen two bottles. You as well have been given the same. Now one pill from each bottle is to be taken every day for a month to become immune to the virus. The problem is that if you take just one, or if you take two from the same bottle, you will die a painful death.

While using it, you hurriedly open the bottles and pour the tablets in your hand. Three tablets come down in your hand and you realize they look exactly the same and have same characteristics. You can’t throw away the pill as they are limited and you can’t put them back or you may put it wrong and may die someday.

How will you ensure that you are taking the right pill?
category : LOGIC

Puzzles Tags :

Illusions Tags :