How would you print last n elements of a linked list, n being small compared to size of linked list?
Financial Software Developer Intern Interview Questions
591 financial software developer intern interview questions shared by candidates
what's difference between C and C++ ?
Implement a hastable with the condition that allocated memory is not pre-initialized. Pseudocode your favorite sort
#2: Describe how to implement a queue out of stacks. (no coding, just thought process) #3: We have a String of characters. Write a function that will find the first non-repeating character and return that character. (something better than an O(n^2) algorithm)
what sorting algorithms do you know?
C programming: passing a string with a return argument
What is the difference between a struct and a class?
Give a function called "fun" and imagine what does this function do.
There are two mars rovers on a 2 dimensional plane (Mars?), as well as 2 sensors. One rover is between the two sensors, and the other is outside. Write a program using only forward, backward, and onSensor() : boolean, to ensure that the rovers will collide.
The first interview has two questions, the first asked me to design an algorithms to draw a spiral with 90 degrees turn. Then second one asked me to design a class to add data to an array and delete data. In the second interview, the first question asked me to design an algorithms to calculate the area of a space. I was given only one function, which return a vector contains spaces that randomly splited, or 1 if if contains only one pieces of space with only 1 unit area; The second question is to define how two binary trees are equal, then write a function to define that.
Viewing 251 - 260 interview questions