leadership principle questions
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
Many data structure and algorithmic questions
Tell me the basic component of Object Orient Programming.
I choose to respect the NDA. However, the questions were related to data structure and algorithm. It should not be a problem if you are an algorithm master.
Given a sorted array of integers, write a function to remove any duplicates (e.g. 1,2,3,3,3,4,4,5 would go to 1,2,3,4,5)
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?
I have two glasses of 3 ounces and 5 ounces. Give me 4 ounces of liquid
Write pseudocode to swap two numbers without third variable .
Given an expression in the form say "a+b-c" and the values of a,b and c evaluate the expression.
Viewing 671 - 680 interview questions