Entry Level Programmer Interview Questions

3,185 entry level programmer interview questions shared by candidates

1 easy/medium problem about log file with sign in/out times. compute which users logged in for at least n minutes. it took me around 25 minutes to complete. 1 hard problem about finding n amount of continuous available meeting timeslots given a list of employee meeting schedules. it took me around 2.5 hrs to complete. Be prepared to know how to use HH:MM timestamps. I passed all of the test cases for both problems, but did not get to continue in the interview process. I got an automatic reject email within 3 days of submitting the OA.
avatar

Software Engineer (Entry Level)

Interviewed at PathAI

3.4
Dec 26, 2021

1 easy/medium problem about log file with sign in/out times. compute which users logged in for at least n minutes. it took me around 25 minutes to complete. 1 hard problem about finding n amount of continuous available meeting timeslots given a list of employee meeting schedules. it took me around 2.5 hrs to complete. Be prepared to know how to use HH:MM timestamps. I passed all of the test cases for both problems, but did not get to continue in the interview process. I got an automatic reject email within 3 days of submitting the OA.

1. relatively easy string logs manipulation. log: [id, time, in/out], max_duration: int. the job is to find id that has a out time - in time < max_duration. problem with this is that input logs are not sorted and not sanitized, meaning there can be an in but no out and vice versa. 2. input will be a list of lists of time intervals. each list represents all available time intervals (i.e. ["12:30-18:00"], ["12:15-19:00"], ["00:00-18:00"]) of one employee. the goal is to output a list of time intervals where a 15 min meeting can be arranged. a meeting can be arranged as long as 2 or more people are free. the problem hints using a 2D array to store each employee's time in a 15 min unit (96 * numOfEmp) and then scan through the array to find all available overlaps. There are two tricks here: 1. you need to find n meetings that are optimized by the number of employees that can attend, which can be done during array scanning where you can cache the number of people. then in the output you have to sort this optimized size n list by starting time. 2. using 2D array forces index usage. thus transforming an index int back to string time interval is a time wasting job (i.e. [0, 49, 2] -> '00:00-12:15')
avatar

Software Engineer (Entry Level)

Interviewed at PathAI

3.4
Jan 8, 2022

1. relatively easy string logs manipulation. log: [id, time, in/out], max_duration: int. the job is to find id that has a out time - in time < max_duration. problem with this is that input logs are not sorted and not sanitized, meaning there can be an in but no out and vice versa. 2. input will be a list of lists of time intervals. each list represents all available time intervals (i.e. ["12:30-18:00"], ["12:15-19:00"], ["00:00-18:00"]) of one employee. the goal is to output a list of time intervals where a 15 min meeting can be arranged. a meeting can be arranged as long as 2 or more people are free. the problem hints using a 2D array to store each employee's time in a 15 min unit (96 * numOfEmp) and then scan through the array to find all available overlaps. There are two tricks here: 1. you need to find n meetings that are optimized by the number of employees that can attend, which can be done during array scanning where you can cache the number of people. then in the output you have to sort this optimized size n list by starting time. 2. using 2D array forces index usage. thus transforming an index int back to string time interval is a time wasting job (i.e. [0, 49, 2] -> '00:00-12:15')

Viewing 661 - 670 interview questions

Glassdoor has 3,185 interview questions and reports from Entry level programmer interviews. Prepare for your interview. Get hired. Love your job.