Code to find a missing number in an array
Engineers Interview Questions
841,850 engineers interview questions shared by candidates
You have 10 boxes of balls (each ball weighing exactly10 gm) with one box with defective balls (each one of the defective balls weigh 9 gm). You are given an electronic weighing machine and only one chance at it. How will find out which box has the defective balls?
Find 2 or more missing numbers in a set of 100 natural numbers
Write C code to check if an integer is a power of 2 or not in a single line?
Explain a scenario where hold violation can be fixed by lowering frequency.
We have a cup of hot coffee and a small cold milk out of the fridge. The room temperature is in between these two. When should we add milk to coffee to get the coolest combination earliest ( at the beginning, in the middle, or at the end)?
some basic string searching or reversing linked list. finding maximum sum in a row in the interger array (contains minus) - incorrect solution approach I made here
A car on a hill of constant slope accelerates from rest under gravity to a point on the hill. If you want to maximize the velocity of the car at this point, where along the length of the car (e.g. downhill or uphill) would you fix an additional mass, if (a) the finishing point is on the slope of the hill or (b) the finishing point is on a flat below the slope of the hill.
Add two numbers using half adder logic.
Two trains, each moving at 20 miles per hour towards each other, are initially 60 miles apart. A bee starts at the front of one train, flies to the other train, then back to the first train, and so on. If the bee always flies at 30 miles per hour, how far does the bee fly before the trains collide?
Viewing 881 - 890 interview questions