count number of duplicates in a list
Engineer Ii Interview Questions
9,741 engineer ii interview questions shared by candidates
Difficult because those guys kept asking system and software questions even I applied network engineer jobs.
Q: alien dictionary
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
CAN protocol
Solve: M is a 2D matrix of integers (nXm) they are sorted in both row and column Write a function search(int s) that return the exact location of the number or Null using lgn
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
how to reverse words in a string preserving the formatting
Consider n people with random birthdays. How large does n need to be before there is at least a 50% chance that two people have the same birthday?
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