Engineer Ii Interview Questions

9,741 engineer ii interview questions shared by candidates

Write a function that accepts an array of tickets, where ticket has format [source: string, destination: string] and returns comma separated countries in order of visiting. function getRoute(tickets){ return 'USA,BRA,UAE,JPN,PHL'; // implement logic here } const result = getRoute([['JPN', 'PHL'], ['BRA', 'UAE'], ['USA', 'BRA'], ['UAE', 'JPN']]); console.log(result); Example: Tickets: [["JPN", "PHL"], ["BRA", "UAE"], ["USA", "BRA"], ["UAE", "JPN"]] Result: "USA, BRA, UAE, JPN, PHL
avatar

Development Engineer II

Interviewed at atolls

4.3
Jun 30, 2021

Write a function that accepts an array of tickets, where ticket has format [source: string, destination: string] and returns comma separated countries in order of visiting. function getRoute(tickets){ return 'USA,BRA,UAE,JPN,PHL'; // implement logic here } const result = getRoute([['JPN', 'PHL'], ['BRA', 'UAE'], ['USA', 'BRA'], ['UAE', 'JPN']]); console.log(result); Example: Tickets: [["JPN", "PHL"], ["BRA", "UAE"], ["USA", "BRA"], ["UAE", "JPN"]] Result: "USA, BRA, UAE, JPN, PHL

1. Given a non-negative integer array that is then shuffled and 1 element is removed, find which element was removed. 2. Assume you are designing/writing code for some small business software how would you go about creating a clean, extensible method for calculating sales tax that can be extended easily to work in different parts of the world. 3. (Two separate questions) 3a. Given an integer array, remove the duplicate values and return an integer array 3b. Test a dice role generator method 4. Design a system for tracking employee applicants through the interview process
avatar

Software Development Engineer

Interviewed at Microsoft

4
Dec 13, 2013

1. Given a non-negative integer array that is then shuffled and 1 element is removed, find which element was removed. 2. Assume you are designing/writing code for some small business software how would you go about creating a clean, extensible method for calculating sales tax that can be extended easily to work in different parts of the world. 3. (Two separate questions) 3a. Given an integer array, remove the duplicate values and return an integer array 3b. Test a dice role generator method 4. Design a system for tracking employee applicants through the interview process

The interviewer confused me like hell when describing the question. Every node of the tree has a pointer to its left most child. each node has a pointer to its next sibling. Its a BST. Find the smallest value in the tree.
Feb 25, 2013

The interviewer confused me like hell when describing the question. Every node of the tree has a pointer to its left most child. each node has a pointer to its next sibling. Its a BST. Find the smallest value in the tree.

Viewing 71 - 80 interview questions

Glassdoor has 9,741 interview questions and reports from Engineer ii interviews. Prepare for your interview. Get hired. Love your job.