Development Engineer Interview Questions

38,114 development engineer 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

You're trapped in a room with 3 switches for 10 minutes. There are 3 light bulbs outside the room , but you don't know which switch corresponds to which light bulb. What do you do in the 10 minutes you're in the room to figure out which switch corresponds to which light bulb when you walk out?
avatar

Product Development Engineer Intern

Interviewed at Intel Corporation

3.9
Jan 16, 2015

You're trapped in a room with 3 switches for 10 minutes. There are 3 light bulbs outside the room , but you don't know which switch corresponds to which light bulb. What do you do in the 10 minutes you're in the room to figure out which switch corresponds to which light bulb when you walk out?

Viewing 671 - 680 interview questions

Glassdoor has 38,114 interview questions and reports from Development engineer interviews. Prepare for your interview. Get hired. Love your job.