Given a library of numbers to corresponding letters (1 = a, 2 = b, 3 = c, etc.) and a string made up of digits, return how many different ways those digits can be translated to letters. ex: “1111”: “aaaa” “kaa” “aka” “aak” “kk” => 5 different ways
Software Engineer Summer Intern Interview Questions
12,223 software engineer summer intern interview questions shared by candidates
Pascal's Triangle - print a row
Write a function that prints a binary tree level-by-level.
I was given a short function in C (dictated because we were hanging on a phone): int foo(int a) { int result = 0; while (a >>= 1) result += 1 return result } And my task was to say what's wrong with this function, what's its purpose and what would I write my colleague who submitted it for a code review
Use C to count the number of set bits in an int.
Not very difficult - logic questions involving a different language.
Given the sum, find all pairs of 2 numbers that have the sum.
Given a word (does not have to be an actual word, just a string of capital letters), return the alphabetical rank of that word out of all possible combinations of the given set of letters.
Design a class to implement a queue which supports pop from head, push from end and delete at any position of the queue.
Implement mergesort in language of choice (chose java)
Viewing 221 - 230 interview questions