Reverse a String eg: I am a boy ans : boy a am I
Development Engineer Interview Questions
37,134 development engineer interview questions shared by candidates
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.
int getCount(int[] arr, int num)
Recursively reverse a singly linked list.
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.
How would you reverse the words in a string?
write a boolean method to find out if a number is a power of 2
1- Given an array of integers, positive and negative. find an interval in that array, whose elements constitutes the maximum sum
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.
Viewing 231 - 240 interview questions