National Instruments(NI) Interview Experience for Staff Software Engineer
Attended an interview with National Instruments(NI) recently.
Gave 3 coding rounds
Online coding test where 2 questions were asked and the duration was 2 Hrs.
question 1: Given an archer. He would not stop shooting arrows until and unless his average is more that 9. Score for few shots were given and we had to calculate the minimum number of shots he would have to play to get an average of 9.5 or more.
question 2: an array is given in which only 2 numbers can be swapped at a time. how many distinct arrays can be formed by this wat
It was an online interview in which the interviewer gave 2 questions which were to be explained and solved
question are as below:
I got stuck with one question and could not proceed much
The question was based on preferential voting algorithm
Since I could not solve this question completely I was not taken for further rounds