employer cover photo
employer logo
employer logo

National Instruments

Is this your company?

National Instruments Interview Question

Technical first round question had to do with finding the missing number in an array from 0 to 100.

Interview Answer

Anonymous

Oct 21, 2012

Make another array from 0 to 100, add up each number one by one, and store it in a variable. Do the same to the array with the missing number and store that value in another variable. Then subtract the second variable from the first.