Software Engineering Interview Questions

56,367 software engineering interview questions shared by candidates

Python -Count distinct words in a sentence -Count the number of times a word appear in a sentence using a Hash Map -Return tuples of a list, matching each item to another item -Count the number of times a substring appear in a string SQL -Return min and max age of male/female who bought a product -Count the number of stores in a state with grand total ? 25000 sq feet
avatar

Data Engineering

Interviewed at Meta

3.6
Jun 2, 2017

Python -Count distinct words in a sentence -Count the number of times a word appear in a sentence using a Hash Map -Return tuples of a list, matching each item to another item -Count the number of times a substring appear in a string SQL -Return min and max age of male/female who bought a product -Count the number of stores in a state with grand total ? 25000 sq feet

You have an unsorted array of integers and a function........string getCategory(integer)........which deterministically returns 1 of three possible strings: "low", "medium", or "high", depending on the input integer. You need to output an array with all the "low" numbers at the bottom, all the "medium" numbers in the middle, and all the "high" numbers at the top. This is basically a partial sort. Within each category, the order of the numbers does not matter...For example, you might be give the array [5,7,2,9,1,14,12,10,5,3]. For input integers 1 - 3, getCategory(integer) returns "low", for 4 - 10 it returns "medium," and for 11 - 15 it returns "high". You could output an array (or modify the given array) that looks like this: [3,1,2,5,5,9,7,10,14,12]
avatar

Software Engineering New Grad

Interviewed at Meta

3.6
Oct 27, 2015

You have an unsorted array of integers and a function........string getCategory(integer)........which deterministically returns 1 of three possible strings: "low", "medium", or "high", depending on the input integer. You need to output an array with all the "low" numbers at the bottom, all the "medium" numbers in the middle, and all the "high" numbers at the top. This is basically a partial sort. Within each category, the order of the numbers does not matter...For example, you might be give the array [5,7,2,9,1,14,12,10,5,3]. For input integers 1 - 3, getCategory(integer) returns "low", for 4 - 10 it returns "medium," and for 11 - 15 it returns "high". You could output an array (or modify the given array) that looks like this: [3,1,2,5,5,9,7,10,14,12]

Example: Are TCP sequence numbers random or do they start at the same number. many other questions were asked in two one hour phone interviews. Study and memorize the RFC's pertaining to BGP, MPBGP, TCP, HTTP, HTTPS, MPLS, OSPF, ISIS, and you will do just fine.
avatar

AWS Infra/Network Engineering

Interviewed at Amazon

3.5
Apr 6, 2016

Example: Are TCP sequence numbers random or do they start at the same number. many other questions were asked in two one hour phone interviews. Study and memorize the RFC's pertaining to BGP, MPBGP, TCP, HTTP, HTTPS, MPLS, OSPF, ISIS, and you will do just fine.

Viewing 331 - 340 interview questions

Glassdoor has 56,367 interview questions and reports from Software engineering interviews. Prepare for your interview. Get hired. Love your job.