Technical Questions Flashcards
give him the algorithm for the Fibonacci number in both iterative and using recursion.
//
Count all lists of adjacent nodes stored in an array
//
How to find a string in a large file storage
//
How would you find the second largest integer in an unsorted array? Write the code.
//
How to divide a number?
//
Why would you use ArrayList? Is there a way to implement the same logic using just an ordinary array of int elements? What is the pros and cons in your decision?
//
There will be definately questions on bits/bytes and small basic questions on Hexa decimal like
what is result if you add 1 to hexa F
//
if you have 5000 html pages how would you find particular valu
//
what is a way to ensure that changes to a function will not have negative impact on other functions?
//
how would you reverse a linked list? What if there were no prev pointers? What if the list was so long that you can’t use a memory buffer?
//
What is wrong with this code:
int *ptr;
*ptr = 7;
//
Can you explain a time when you had to pitch an idea to a manager when initially they were sceptical, explain how you won them round
//
Tell me of a time when you stood up against someone in a position of authority and convinced them to do something different
//
(Whiteboard exercise) Implement strcmp using any language of your choice.
//
Given a string, reverse each token in that string
//