Method to find all duplicates of letters in a string. A few simple data structure runtime questions. Questions on OO design.
Software Engineer Intern Interview Questions
9,339 software engineer intern interview questions shared by candidates
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
Pascal's Triangle - print a row
Write a function that prints a binary tree level-by-level.
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
What are the major principles of the object oriented programming?
Use C to count the number of set bits in an int.
Given a mathematical expression, what data structure would you use to evaluate the expression? How would you design the above question to use Trees/Graphs.
Compare and Book and a Three Ring Binder using data structures and classes.
(following the previous one) You got only ONE baby bottle sample. You would like to know the max height you can drop it without breaking the bottle. Let set the unit as 1 foot. And the highest height you can reach is at N feet. So how would you find the (max) safe height?
Viewing 261 - 270 interview questions