Q1> reverse a inked list and print the reversed list . Ex: 1->2->3 , result:3->2->1 Q2> divider a number by another number and print result and remainder if any. you are not supposed to use "/" and "%" operation
Engineers Interview Questions
841,870 engineers interview questions shared by candidates
How many times would `addEventListener('scroll', handleScroll);` run as the user looks at their News Feed? And what would be user experience if the `handleScroll` function takes 100ms to execute.
I was shown three programs. Each solving the same problem and was asked to analyze them and suggest which one is the best and why.
Suppose you have an array of positive and negative integers. Given X as input, find two numbers that add up to X.
1. Tell me about your experience when you make decision without the approval of your mentor. 2. Park lot design.
First interviewer asked about potential scenarios to test APIs. Many follow-up questions based on my answers. Next interviewer, asked me to draw object-oriented design for a given animal hierarchy. Then, write code to find if the given coordinates are part of the four corners of a rectangle. Next, flip two dimensional array. Bar raiser asked many questions about i18n, testing web services etc. Behavioral questions such as examples of situations where you had conflicts with the idea of the majority of the team, approach when you find bugs after release etc were raised in each interview.
What are different types of interrupts?
Write a function that takes an integer and prints out the digits separated by commas. Example, pass in 345 print out 3,4,5
Find the numbers occur odd times (e.g. 1,3,5,7,...) in the given array. e.g. { 2, 2, 1, 1, 1, 4, 4 } You should print 1.
How would you implement a sparse array (key could be any integer, but only a few would be used) with limited memory.
Viewing 1231 - 1240 interview questions