Software Developer Interview Questions
- 0of 0 votes
AnswersMinimize the cost to chop the log into pieces of desired lengths. The cost to cut any piece is the max of the two lengths generated out of cutting the wood. e.g. If a 14 unit log is cut into 2 pieces of lengths 6 and 8, cost is 8.
- JSDUDE June 23, 2015 in United States for Customer experience
Write a function that takes the total length of the log and an array of piece lengths and returns the cheapest sequence to do this along with the cost| Report Duplicate | Flag | PURGE
Walmart Labs Software Developer Algorithm - 0of 0 votes
AnswersGiven an existing inventory Oracle Database system and UI. The UI should update itself as soon as the db gets updated
- JSDUDE June 23, 2015 in United States for Customer experience
There is a tool that people use to dump inventory data (one row at a time or bulk insert via data in files)
Currently a new system is built with new UI using No Sql database.
Write a bridge that will update the new UI and populate the No SQL database, so that the new UI has real time updates as the tool has updated.| Report Duplicate | Flag | PURGE
Walmart Labs Software Developer System Design - 0of 0 votes
AnswersYou have a very large array of integers. write this function
- romina June 11, 2015 in United States
boolean hasTwoNumbersThatSumValue(int[] arr, int num)| Report Duplicate | Flag | PURGE
Fabrix Software Developer Algorithm - 0of 0 votes
Answers1. A server can call an API once per second. How would you ensure that it calls 1/sec given that it's a multithreaded environment.
- Tom Walker June 09, 2015 in United States
2. If there are multiple servers how would you ensure that the calls still remain 1/sec.| Report Duplicate | Flag | PURGE
Expedia Software Developer Front End Web Development - 2of 2 votes
Answers1. A server is getting streams of numbers from TCP IP. Write code to get minima/maxima for every 60sec. - The interviewer was looking for code with multithreading as you can perform print of minima/maxima for 60 sec interval and at same time do comparison.
- Tom Walker June 09, 2015 in United States
2. If the stream can't be handled by one server and now there are multiple servers how would you calculate minima/maxima? To calculate what optimizations would you do.
3. If now you need to find 10 largest and 10 smallest elements how would you do?| Report Duplicate | Flag | PURGE
Expedia Software Developer Front End Web Development - 0of 0 votes
Answerinheritance vs composition?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer - 0of 0 votes
AnswersHave you done debugging in JVM? How would you do it.
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Data Structures Java Knowledge Based Testing test - 0of 0 votes
Answerswhat's use of equals and hashcode function?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Coding Hash Table Java Object Oriented Design - 0of 0 votes
Answershashmap implementation?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Algorithm Coding Hash Table Java - -1of 1 vote
Answervector vs arraylist
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Coding Java Object Oriented Design - 0of 0 votes
Answerhashtable vs hashmap
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Coding Hash Table Java - 0of 0 votes
AnswersIs memory leaks possible in Java?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Java Testing - 0of 0 votes
AnswerHow Garbage collector know if something is not used and needs to be removed?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Coding Compiler Debugging Java - 0of 0 votes
Answersdifference between java7 and java8?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Java - 0of 0 votes
Answersasked if i know unix, linux scripting.
- Tom Walker June 07, 2015 in United States
if given 100 servers, you deploying your app in those servers. The server creates log. The logs can contain error messages. how would you group and count the error messages from all servers and receive them using unix commands.| Report Duplicate | Flag | PURGE
Ebay Software Developer Automata Debugging System Design Unix - 0of 0 votes
Answersjava vs javascript
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Java - 0of 0 votes
Answersstack vs heap
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Ebay Software Developer Java - 0of 0 votes
AnswersDoes JavaScript has inheritance?
- Tom Walker June 07, 2015 in United States
Can you override in JavaScript?| Report Duplicate | Flag | PURGE
Amazon Software Developer Java JavaScript Object Oriented Design - 0of 0 votes
AnswersWhat's difference between Javascript and JAVA in terms of OOP principles. Provide examples.
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Amazon Software Developer Coding Java JavaScript Object Oriented Design - 0of 0 votes
AnswersIf given a binary file, with data like lat, long, weather, temp in key:value. It's a structured data how would u ingest it. what are the steps that are being taken before Hive process starts.
- Tom Walker June 07, 2015 in United States
- serde (serializartion deserialization). parque etc.| Report Duplicate | Flag | PURGE
Amazon Software Developer Algorithm Data Mining Data Structures Database Distributed Computing Java SQL - 0of 0 votes
AnswersLets say if Mongo captures user views and oracle captures purchases. How would you design realtime system that answers question "give me avg. no. of views of users by purchases".
- Tom Walker June 07, 2015 in United States
So if a user watch a trailer 10 times and then decides to buy a video. How would you calculate it. He was looking for QUEUE.
He could have gone on more details but stopped because i didn't give details on this.| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database - 1of 1 vote
AnswersWrite sql to get occurence of characters in given column
- Tom Walker June 07, 2015 in United States
Remove duplicate rows from sql table leaving one unique row.| Report Duplicate | Flag | PURGE
Amazon Software Developer SQL System Design - 1of 1 vote
AnswersHow would you increase efficiency of a hive query?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database Debugging SQL - 0of 0 votes
AnswerWhat is distribute cache in Hadoop?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Structures Database - 0of 0 votes
AnswerWhat do you mean by combiner?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database Distributed Computing - 0of 0 votes
AnswersAfter map phase partition, shifting, sorting happen. What does it mean?
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database Java - 0of 0 votes
AnswerWhat is input split in hadoop.
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database Java SQL - 0of 0 votes
AnswersAs I interviewing for Big data position. Asked Hadoop question :-
- Tom Walker June 07, 2015 in United States
Difference between TextInput vs Key Value format in Hadoop.| Report Duplicate | Flag | PURGE
Amazon Software Developer Data Mining Data Structures Database Java design - 0of 0 votes
AnswersDesign Bing search.
- Tom Walker June 07, 2015 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Developer Algorithm Coding Database Java Object Oriented Design Software Design