They also asked some behavioral questions.
Development Interview Questions
137,268 development interview questions shared by candidates
Reverse a String eg: I am a boy ans : boy a am I
Find the length of the longest palindrom in a given string
Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. All these operations of SpecialStack must be O(1). To implement SpecialStack, you should only use standard Stack data structure and no other data structure like arrays, list, etc.
See above for type of question?
Recursively reverse a singly linked list.
int getCount(int[] arr, int num)
Given an integer write a function that converts the input into a linkedList where each node corresponds to a number of the integer. Eg: 25697 == 2 -> 5 -> 6 -> 9 -> 7 Then write a function that takes 2 linkedList, add the corresponding integers and return a third list with the result.
How would you reverse the words in a string?
Write a function that takes an input string, consisting of several words separated by spaces, and print out each word reversed, keeping the same order within the string.
Viewing 311 - 320 interview questions