Output a single linked list in reverse, in linear time and constant space, and recursively
Interns Interview Questions
248,188 interns interview questions shared by candidates
Given n+1 buckets with n of them with ball inside and move(a,b) function, that moves ball from bucket a to bucket b. Each ball has a different number from [1,n] on it. Move balls, so each bucket has a ball with matching number in it.
Given 2 arrays sorted in ascending orders (a[n] and b[n*2]) with the second half of array a[] being empty, create a function that merges both arrays into a single sorted array.
Implement "double sqrt(double x)" in C++.
Given an input array, remove all any duplicate occurrences and return the array.
Q1. Divide n1 by n2 without using division. Give time complexity Q2. Improve previous answer
In all the arrangements of a circular ordering (?) from 1 to 5 what is the expectation of the number(s) that are higher than the ones to both its right and left?
Are you comfortable completing projects independently? Are you able to converse with customers professionally?
What is your work experience?
First I was asked a few basic design questions, like how I would design an online chat system with separate room. Then I was asked why I've chosen some of of the technologies that I have worked with.I was asked a standard question about manipulating an array. The input array was sorted integers, and I was asked how to square all the elements and keep it sorted.
Viewing 161 - 170 interview questions