Senior member of technical staff Interview Questions | Glassdoor

Senior member of technical staff Interview Questions

153

senior member of technical staff interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Given an array of integers write a function so that all the even numbers are on the left side of the array and all the odd numbers are on the right side of the array.

4 Answers

for (var b=[], i=0; i< a.length; i++) { if (a[i] %2 == 0) b.unshift(a[i]); else b.push(a[i]); }

static void method(int array[]){ int size = array.length; int newArray[] = new int[size]; int mid = size/2; for(int outer=0, i=0; outer < size; outer++){ if(array[outer]%2 == 0){ newArray[i++] = array[outer]; }else{ newArray[mid++] = array[outer]; } } for(int outer=0; outer < size; outer++){ System.out.println(newArray[outer]); } }

keep left=0, right=ia.len() indices in input array, ia[] while(left < right) { if(odd(ia[left])) { left++; continue; } if(even(ia[right])) { right--; continue; } //get here, then swap array contents left++; right--; }

How do you reverse print a string. After answering the same by providing an out of the box API, the next unexpected question was "What if it does NOT exist". While and 2nd alternative was provided, it was pretty much shot down as being not acceptable.

3 Answers

"Do you have silicon flowing in your veins?" (Not really difficult, just pointless)

2 Answers

Leadership questions.

1 Answer

Write the implementation for LRUMap.

1 Answer

NDA. Leetcode. They are looking for your thought process more than the correctness of your solution (Like a Google Style'd interview I'd say). The interviewers were super friendly and they made sure I'm feeling good. Telephonic: 1 Telephonic 1 RPT (Remote programming test / Hackerrank) Onsite: 1 Graph Problem 1 Tree Problem (Refer to underscore library implementation) Prototypes and fundamentals in JavaScript 1 CSS Interview Digging into Positions, Display, and Flexbox. 1 Testing & Culture interview.

1 Answer

Architecture of my previous projects. Mostly LC Easy/Medium (Interval problems, Graphs and Trees, can't be more specific due to NDA). Challenging behavioral questions. Understanding of design, tests and code review. Questions on REST Api design patterns, basic security concepts.

1 Answer

How would you proceed debugging an issue they were having and they had been investigating for a couple of weeks already without being able to find the root cause.

1 Answer

It was more a discussion about my experience and past projects.

1 Answer

As a former employee of the company, I had a lot of 'why do you want to come back to Altera?' and 'do you plan to leave again?',

1 Answer