How do you swap two numbers without declaring temporary variable?
Software Engineers Interview Questions
420,038 software engineers interview questions shared by candidates
In a sequence of alphabets (like aaabbddaabbcc) write a program to find the number of the consecutive alphabets in and print the alphabet and number. example :if input is aaabbddaabbcc then output should be 3a, 2b, 2d, 2a, 2b, 2c
Tell me about your favorite or the most challenging project you worked on
He asked me to write a function to detect whether string1 contains all letters in string2
Write a function, that, given a paragraph as input, outputs the paragraph with all the words reversed.
Questions about a modified form of blackjack as well as one about sending messaged on stone tablets.
Describe oops concept.What you know about collections.3rd highest salary.find only numbers in alphanumeric string,remove space with in word in string.which is the best way to retrieve using hashmap.how to make immutable class,all methods of object class
-given a binary tree, and a number in each node. Select the nodes that will maximize the overall sum such that if a node is selected its parent and children cannot be selected. Return the sum of the selected nodes. - The buildings in a a city can be represented in 2D by linear array. Given an array that represents the heights of the buildings such that the value in a specific index in the array indicates the height of the building at that location in the city. How much rain will gather in the city if it rains?
Implement a queue using only stacks.
Determine if a binary search tree is valid or not.
Viewing 981 - 990 interview questions