You have two operations: add by one and multiply by 2. Find the minimum number of operations to get from 0 to any particular integer.
Interne Software Interview Questions
20,222 interne software interview questions shared by candidates
There were no unreasonably tough questions.
What is the difference between a HashTable and HashMap in Java?
Method to find all duplicates of letters in a string. A few simple data structure runtime questions. Questions on OO design.
Tell me about a time you had to deal with a difficult team member
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?
Viewing 411 - 420 interview questions