IBM Virtual Machine Developer Interview Questions | Glassdoor

IBM Virtual Machine Developer Interview Questions

1 Interview Review



Getting an Interview

Getting an Interview





1 Candidate Interview ReviewBack to all Interviews


Sort: PopularDateDifficulty


Sort: PopularDateDifficulty

Helpful (2)  

Virtual Machine Developer Interview

Anonymous Interview Candidate in Ottawa, ON (Canada)
No Offer
Positive Experience
Difficult Interview


I applied online. The process took a week. I interviewed at IBM (Ottawa, ON (Canada)) in February 2014.


The interviewer was very nice and cool, it was the kind of guy I'd love to work with !!!
Phone Interview that lasted more than an hour. Got asked about almost everything in Java and C++ for more than 30 minutes: classes objects inheritance interface abstract class void pointers recursion trees binary trees linked list vs array and more and more and more...

Then I was given the following programming task to finish online:

 * Using no libraries, compress a nul terminated sequence of characters, in
 * place. The input characters are all in the range a-z. The input does not need
 * to be validated. The result overwrites the input and is nul terminated.
 * Return the number of characters in the result, not including the nul
 * terminator.
 * The compression algorithm is: - any letter which is not repeated is
 * represented in the output by the same letter - any letter which is repeated
 * is compressed by appending it with a series of ascii numbers which represent
 * the number of repeats - any repeat bigger than 9 is represented by a series
 * of 9's and the remaining count, i.e., a repeat of 10 is represented as 91, 11
 * as 92, etc
 * Examples: abab -> abab
 * aaacbbb -> a3cb3
 * addddddddddddc -> ad93c
 * @param letters
 * a nul terminated sequence of the letters a-z
 * @return the length of the compressed character sequence not including the nul terminator

public class Compress {


I was not able to finish the task on time which was about 30 minutes. It simply was not my day, I was very tired and the 30 minutes questions/answers session gave me a headache. I was able to finish it after the interview was over :P

Interview Questions

  • nothing complicated given you know about OOP, Java and C++   Answer Question
Don't Miss Out On a Job You Love
Upload a resume to easily apply to jobs from anywhere. It's simple to set up.