Company : Cadence
College : IIT Roorkee
There were 3 sections: (Total time: 90 minutes)
Software(mostly C/C++ based)
2 Technical and 1 HR interview
Q1. Tree questions related like traversal?
Q2. Locate the sum of 2 numbers in a linear array (Unsorted and sorted) and their complexities
Q3. Pointers with increment/decrement, address of and value at operators (++,–,*,&)
Q4. A point and a rectangle is present with the given coordinates. How will you determine whether the point is inside or outside the rectangle?
Q5. There is a point inside the rectangle. How will you determine the line that passes through the point and divides the rectangle into 2 equal halves?
Q6. There is a scheme which contains 8-bit and 16-bit signed numbers. How many such combinations are possible?
Q7, You are given an array of elements. Some/all of them are duplicates. Find them in 0(n) time and 0(1) space. Property of inputs – Number are in the range of 1..n where n is the limit of the array.
Q8. Given a array of digits. print all combination of of these i.e all no formed by these.
repetition allowed. and then repetition not allowed
123, 132, 213, 231, 312, 321
HR interview was all about my projects, my background and a few more typical HR questions. It was pretty easy to answer them.
Thanks Pulkit for contributing this article. If you would like to contribute, mail us your interview experience at [email protected] or write it here: Google Form . We will like to publish it on CrazyforCode and help other job seekers.