Given an array of numbers e.g. [1,3,7,7,8,8,9], create a function that returns the indeces of a target number. For example, target is 8, return [4,5] for the array mentioned before.
Engineer Software Interview Questions
511,875 engineer software interview questions shared by candidates
Given 2 eggs, how would you find the exact floor at which the egg breaks when thrown from a building comprising 100 floors
Given an array of integers, delete the max and min numbers (both could appear more than once) in place. Do it in O(n) without shifting.
1. Given a lot of transactions, one transaction contain company name and the number of money in this transaction. Design a data structure, find the transaction with most money in it. follow up, find the company who owns transactions with most money (add-up). 2. Find the max number in an integer array. follow up, find the second number in this array.
How would you print a linked list in reverse order?
Compare two strings and see if they have the same frequency of letters, in MAXIMAL efficiency.
First round: Asked about my resume. Was asked to solve coding on leetcode Second round: Drilled deep into projects that were mentioned in resume
Cut a cake into 8 equal pieces
enter any odd positive no . and do output as n=3 @@@ @@@ @@@***@ @@@ @@@ n=5 @@@@@ @@@@ @@@@@ @ @@@@@*****@ @@@@@ @ @@@@@ @@@@@
If 3 lumberjacks can cut down 3 trees in 3 days, how many trees can 12 lumberjacks cut down in 12 days?
Viewing 1071 - 1080 interview questions