Write a program that verifies that a binary tree is a binary search tree.
Intern Software Engineer Interview Questions
9,749 intern software engineer interview questions shared by candidates
1) Why Bloomberg ? 2) 1 thing you would like to change about Bloomberg ? 3) They will grill you on your resume. Know every thing that you write on it. 4) Implementing queue using stack library in C ? 5) A question on BFS. 6) A puzzle - A mobile phone company is launching a new product (mobile phone) which they say is unbreakable if its thrown from a certain height (a threshold). You are given 2 phones. Find the threshold height of the product if you can throw it from any floor of a 100 story building ?
Write a function to check if a given tree is a valid binary search tree or not.
What are the major principles of the object oriented programming?
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
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.
Viewing 211 - 220 interview questions