Engineer Software Interview Questions

419,718 engineer software interview questions shared by candidates

Given a string that looks like this: Fall2014 BIO110, return 4 pieces of information: Season - Winter, Spring, Summer, Fall Year - 20XX Subject - BIO, ENGR, etc Course number The season and year cluster may be space separated. Season always comes before year. The subject and course number cluster may also be space separated. Subject always comes before course number. The season/year and subject/course clusters are always space separated. You are guaranteed that season/year cluster comes first. Season can also be given like this: W = Winter Sp = Spring Su = Summer F = Fall Years can be given without their prefix of "20". So if you're given Fall14, you should be able to extract a year of 2014. Subject and course number come as they are. You are guaranteed that subjects are purely alphabetical. Examples: Input: F 13 ENGR 110 Season: Fall Year: 2013 Subject: ENGR Course #: 110 Input: Su2015 BIO340 Season: Summer Year: 2015 Subject: BIO Course #: 340
avatar

Software Engineer

Interviewed at Course Hero

3.9
Nov 11, 2017

Given a string that looks like this: Fall2014 BIO110, return 4 pieces of information: Season - Winter, Spring, Summer, Fall Year - 20XX Subject - BIO, ENGR, etc Course number The season and year cluster may be space separated. Season always comes before year. The subject and course number cluster may also be space separated. Subject always comes before course number. The season/year and subject/course clusters are always space separated. You are guaranteed that season/year cluster comes first. Season can also be given like this: W = Winter Sp = Spring Su = Summer F = Fall Years can be given without their prefix of "20". So if you're given Fall14, you should be able to extract a year of 2014. Subject and course number come as they are. You are guaranteed that subjects are purely alphabetical. Examples: Input: F 13 ENGR 110 Season: Fall Year: 2013 Subject: ENGR Course #: 110 Input: Su2015 BIO340 Season: Summer Year: 2015 Subject: BIO Course #: 340

The Max Bubble sort is O(n) at best, O(n^2) at worst, and its memory usage is O(1) . Merge sort is always O(n log n), but its memory usage is O(n). Explain which algorithm you would use to implement a function that takes an array of integers and returns the max integer in the collection, assuming that the length of the array is less than 1000. What if the array length is greater than 1000?
avatar

Four Star Generalist Software Engineer

Interviewed at LiveRamp

3.3
Feb 7, 2014

The Max Bubble sort is O(n) at best, O(n^2) at worst, and its memory usage is O(1) . Merge sort is always O(n log n), but its memory usage is O(n). Explain which algorithm you would use to implement a function that takes an array of integers and returns the max integer in the collection, assuming that the length of the array is less than 1000. What if the array length is greater than 1000?

Questions asked included (only) printing the nodes of a linked list in reverse, finding the longest palindrome in a given string, finding maximum subarray sum (similar to Kadane's Algorithm) with the constraint that two numbers in the array that form the max sum cannot be next to each other.
avatar

Software Engineer Intern

Interviewed at Meta

3.5
Feb 27, 2013

Questions asked included (only) printing the nodes of a linked list in reverse, finding the longest palindrome in a given string, finding maximum subarray sum (similar to Kadane's Algorithm) with the constraint that two numbers in the array that form the max sum cannot be next to each other.

Viewing 2461 - 2470 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 419,718 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.