How do you find the middle of a linked list, rounding up in the case of an odd number of items but with no differentiation between an even or odd number?
Programmer Analyst Ii Interview Questions
716,548 programmer analyst ii interview questions shared by candidates
Design a stack that has an O(1) max() method.
One of the question was on Designing & Code a TTL Cache with some modifications
Within 2-3 hours write a program that reads words from a large file, counts how many times an individual word occurs and output them in the order of decreasing number of occurrences. The language doesn't matter, just negotiate the programming environment you prefer in advance.
Given a sequence consisting of letters and numbers, re-arrange the sequence so that the numbers come together first, while maintaining their initial order in the sequence (not allowed to use additional memory) e.g. Input : 12gh45fd3, Output : 12453ghfd
The 2-minutes part is a bit unexpected, I am not a native language speaker, I read a bit slow, so I can only finish about 60% percent of the questions.
Choose any programming language of your choose and write a for loop that counts backwards from 10.
Given an array of 1001 elements, consists all numbers from 1-1000. Only one number is repeated. Write a function that returns the repeated number.
Find the dominator in an array.
Give a deck of card, calculate total number of point that is closes to 21. ex A,A,J = 12 , J,J,A,2 = 23 A, 2 = 13
Viewing 1521 - 1530 interview questions