given number (n) print +-- n times
Engineer Software Interview Questions
419,642 engineer software interview questions shared by candidates
1.Implement queue using two stack (famous interview question) 2.find the anagrams maximum count {"aab", "baa","aba","abc"} that he was asking me to order of n. I have suggested different algo like Trie ,wordMap ,etc but he asked me to algo in o(n) ,i don't think so possible .if somebody know in o(n) share the code with me. 3.given array {10,20,12,10,18,2} etc find the sum of two element 20. 4.find the given no in binary tree ---my answer is level order traversal ..but he doesn't understand he want different solution. 5.continous data stream find the given word ...i have suggested maximum heap implementation and trie
After asking the details of my current role, he only gave me a simple coding question. Write a function using C++ or Java that is passed an integer and it returns the number of bits set to 1. Is there a way to improve your solution and make it faster and more efficient?
You have String 1: "abcdefgh". Write a code to remove "ad" so that you are left with "bcefgh".
Given a numerator and a denominator provide the quotient and a remainder with using the division and multiplication operators.
General questions related to personality and technical interests
Organize two arrays into three: Values in both, values in array 1, and values in array 2
remove all elements from linked list with "n" as their value
how do you check if a number is odd or even?
1. delete one block from a single linked list(can only use one pointer) 2. give a number of x, check if there are two elements in an array whose sum is equal to x, and improve your code
Viewing 2101 - 2110 interview questions