Pergunta de entrevista da empresa National Instruments

Attended an interview with National Instruments(NI) recently. Gave 3 coding rounds Round 1: 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 ex: array[2,3,2,3,3] result: 7 Rpund 2: It was an online interview in which the interviewer gave 2 questions which t=were to be explained and solved question are as below: https://www.geeksforgeeks.org/minimum-number-platforms-required-railwaybus-station-set-2-map-based-approach/ https://www.geeksforgeeks.org/search-an-element-in-a-sorted-and-pivoted-array/ Round 3: I got stuck with one question and could not proceed much The question was based on preferential voting algorithm http://numerical.recipes/whp/ky/kemenyyoung.html Since I could not solve this question completely I was not taken for further rounds

Respostas da entrevista

Sigiloso

4 de ago. de 2020

The approach to the question is seen while you answer it

Sigiloso

21 de jan. de 2021

There's quite an extended back and forth in actual interviews for questions like this, so nothing quite like real practice. The Prepfully National Instruments Staff Software Engineer experts have actually worked in this role, so they're able to do an honest-to-God accurate mock, which really puts you through the paces. prepfully.com/practice-interviews