Skip to content

Interview Experience 80 (Intern)

sggarg edited this page Sep 15, 2017 · 1 revision

##Online Round

On cocubes. 3 questions. 75 minutes.

  1. There are n files. The sizes of these n files are given in an array. You need to find the minimum size of say a memory card that can hold all these files. Memory cards come in sizes equal to the powers of two.

  2. Given a linked list, rearrange the lili as follows: All even position elements should be at the front of the final lili. Then, the odd position elements should be arranged in the reversed order. Input: 1->2->3->4->5. Output: 2->4->5->3->1.

  3. Given two strings, remove from the strings all the characters that are present in both of the strings (the intersection of the characters present in both of the strings). Then concatenate the two resultant strings.

The following rounds were pool campus. About 120 students in total. 13 different colleges - IITs, NITs, IIITs mostly.

##Group Fly

Batches of 20 students were sat down in a room (NOT a group discussion). All of them were given the same question. Write down the solutions on a piece of paper, and write some possible tests.

Reverse the order of words in a sentence "How are you?" -> "you are How?"

50 students were selected for the following round

##First Technical one on one

Some ice breaker questions followed by a long discussion on projects. And I stress on "long".

Then I was asked to code on paper:

You are given two arrays. A and B. You have to rearrange B so that the elements in B' are in the same sequence as A. For elements that are present in B but not in A, append them at the end of B' in sorted order.

A: 3, 6, 5, 7

B: 1, 2, 2, 3, 3, 3, 4, 5, 6, 7, 7, 8, 9

B' should be: 3, 3, 3, 6, 5, 7, 7, 1, 2, 2, 4, 8, 9

Around 20 to 25 were called for this round

##Second Technical one on one

Some basic OOP questions. Polymorphism etc...

Then another long discussion on the other projects.

Then the coding question (again, on paper) was:

Print the sequence of n bit gray code

About 15 to 20 people were called in for HR round

##HR round

The whole round was more of a discussion rather than a Q&A. Of course there were the run of the mill HR staple questions. But after that we were discussing on the feedback I had received from the previous rounds. Also asked me the motivation behind my choice of projects that I had on my CV.

In total, 9 or 10 people got selected.

Clone this wiki locally