Write a function that finds the median of a set of three numbers, also find the Big O. Can it be done with only 2 comparisons, or do you need 3?
Software New Grad Interview Questions
6,134 software new grad interview questions shared by candidates
Implement division without using multiplication or division. It should work most efficient and fast.
Improve this piece of code, loop tracing, very basic printing problem
Given a base 10 number, print the hexidecimal (base 16) representation of that number.
We have a fairly large log file, about 5GB. Each line of the log file contains an url which a user has visited on our site. We want to figure out what's the most popular 100 urls visited by our users.
WHAT IS YOUR AGE??? - A totally prohibited ground in HR context.
How to access data from a tree structure and to sort them into an array?
Given a list of compare orders and keys (directions), find the hashmap that matches the directions. If the first direction gives equal, then go to the second. And so on.
Question1 /** * Given a nested list of integers, returns the sum of all integers in the list weighted by their depth * For example, given the list {{1,1},2,{1,1}} the function should return 10 (four 1's at depth 2, one 2 at depth 1) * Given the list {1,{4,{6}}} the function should return 27 (one 1 at depth 1, one 4 at depth 2, and one 6 at depth 3)
Mostly the concepts of array and string manipulation. You are given an array with distinct numbers between 1 to 100. You have to return You have to return a string which says the number's range which are not in the given array separated by comma. Eg: Input: [50,75] Output: (0-49,51-74,76-100)
Viewing 1 - 10 interview questions