Do an in-place (without allocating any extra memory) rearrangement of a list of integers, putting non-zero elements first.
Engineer Interview Questions
1,135,842 engineer interview questions shared by candidates
· BGP/TCP/IP protocols/route reflectors · Network hardware and software – switches, chips, etc. · Network infrastructure · Troubleshooting · Linux / automation, Scripting(Regex will be helpful)
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
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.
You have two methods: one method takes long time to run and the other completes in short time. You execute the long method first and after that you execute the short method. Which one will complete first. There is no setTimeout involved.
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.
How to check if a number is even or odd without using % or / ?
Viewing 1431 - 1440 interview questions