Engineer Software Interview Questions

512,496 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
avatar

Software Engineer

Interviewed at OpenText

3.2
Jun 25, 2018

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?
avatar

Senior Software Engineer

Interviewed at Tripadvisor

3.5
Dec 2, 2013

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?

Viewing 2461 - 2470 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 512,496 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.