I applied through a recruiter. I interviewed at National Instruments
Interview
Asked me behavioral questions like explain a bug that was hard to fix. Then asked about shuffling a deck of cards and a tree question. Overall wasnt too bad. But I got rejected
Interview questions [1]
Question 1
If a tree has its children pointing to its parent, find the shared parent between any two nodes
I applied through college or university. The process took 2 days. I interviewed at National Instruments (Mysore) in Jul 2016
Interview
Written round
Consisted of 10 questions of 90 minute duration consisting questions on C, FAFL, Algorithms, probability, permutaion and combination, microprocessors.
Coding round
2 questions with 3 hr duration
1. Long question, I don't remember fully. I'll just give input/output examples. It was basically on string decoding. If jon2snow3 is there the decoded string will be jonjonsnowjonjonsnowjonjonsnow. Given a string and an integer k we have print the kth character in the decoded string
input:
jon2snow3
8
output:
n
2. Given an array and an integer k return the number of contiguous sub arrays whose sum is divisible by k.
input format:
n k
<n elements of the array>
input:
4 5
10 0 4 5
output:
4
explaination: {10},{0},{10,0},{5} are the sub arrays with sum divisible by 5.
Technical+HR interview
I applied through college or university. The process took 1 day. I interviewed at National Instruments (Champaign, IL)
Interview
There were 2 behavioral questions and 2 coding questions. The two behavioral questions were a time I showed initiative and a time I had to debug something and how I approached it. The two coding questions covered how to represent data such as a deck of cards, and a question about traversing through trees. The interviewer was very friendly and made me feel at ease.