There are two arrays city[] and population[], each with n elements. Each city[i] corresponds to population[i], that is, each ith element in city[] has population of ith element in population[]. Now, I've to sort the city[] array according to the population in them.
Software Engineer Summer Intern Interview Questions
61,147 software engineer summer intern interview questions shared by candidates
You have a cube of 100cm*100*100cm. You poor 1 liter of water into the cube, how high will the cube be filled with water in centimeters?
What is your favorite piece of real estate?
Tell me about a time when you faced a difficult situation
We choose 6 random numbers out of the first 12 prime numbers. What is the probability that the sum is odd
You roll a 20-sided die and a 10-side die. What's the probability that the 10 sided die is greater?
what motivates you?
if x is in (0,1), how many times is cos(ln(x)) = 0?
Question: "A car is going fast on a road. There is a man in the middle of the road. Due to a major blackout, all the lights in the street are not working. The car battery has a problem so its lights don't work either. There are no emergency battery-powered lights etc... However, the car avoids the man in the middle of the road. How/Why?
Evaluate the integral from 0 to pi/6 of sec(x) dx.
Viewing 81 - 90 interview questions