Write a C procedure to reverse a string in-place.
Intern Interview Questions
248,749 intern interview questions shared by candidates
Given an array of numbers, there is one number that has a duplicate. How would you find the number?
1. Describe what happens when user surf the internet 2. What's Java Object class. Name one of its method. What will be returned for equal() if two objects have same hashcode
Assuming a preexisting list of 100 words, how would you efficiently see if a word received from input is an anagram of any of the 100 words?
p++ means?
given a list of numbers and a function that returns 0,1 or 2 for every int, sort the list by the return value of the function. should do it without using another array, in place.
Given an array of integers, all but one of which appears an even number of times, find the one integer which appears an odd number of times. Upon completion, asked to improve the algorithm in terms of both time and space, eventually asked to do it in O(n) time and constant space.
Find the numbers in an array that appear an odd number of times.
How would you store and search 1 million names?
During the last stage of the interview, the department head was asking various questions relevant to the position. However, one of the last question was a bit strange to say the least that left me confused and curious whether I would be willing to work for a person that assigns tasks or provide feedback using random allegories: "A woman came to the market to sell eggs. The first customer bought half of her eggs and a half of an egg. The second customer bought half of the remaining eggs and a half of an egg. The third customer only bought one egg. After that, the woman had no eggs in stock. How many eggs did she bring with her to the market?"
Viewing 211 - 220 interview questions