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.
Developer Database Oracle Interview Questions
710,966 developer database oracle interview questions shared by candidates
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?
You have a list of numbers from 1-1000, each number only exists once and they are in random order. You randomly take one out. How do you know which is the missing number?
Questions about the basics of main subjects including DS, DAA, Java, C++, C, SQL etc.
Viewing 1221 - 1230 interview questions