Software Engineer Interview Questions

467,307 software engineer interview questions shared by candidates

These are the main technical questions that I had encountered in the two technical interviews: - Interrupt routine life time. - Pins of the SPI and its operation. - Causes of stack overflow. - Difference between memories in terms of speed/density/usage/cost/operation. -PWM operation and parameters. -Difference between startup code / boot loader. -In which memory the Interrupt vector table lies and in which position inside the memory. -Function that takes an array and eliminates any repetitive elements inside an array and returns it (find a proper way to return it). -Function that takes an array and prints another array with same size where the elements in the new array are the number of repetitive times of its indeces .in the input array. Example : Input = [1 2 4 5 6 2 4 0 2 2 3 3] output=[1 1 3 2 1 0 1 0 0 0 0 0] Explanation: 0 was repeated 1 time in the input array so we write 1 at the 0 index at the output array. 1 was repeated 1 time in the input array so we write 1 at the 1 index at the output array. 2 was repeated 3 times in the input array so we write 3 at the 2 index at the output array. 3 was repeated 2 times in the input array so we write 2 at the 3 index at the output array. 4 was repeated 1 time in the input array so we write 1 at the 4 index at the output array. 5 was repeated 0 time in the input array so we write 0 at the 5 index at the output array. ... and so on so forth
avatar

Embedded Software Engineer

Interviewed at Valeo

3.7
Jul 10, 2016

These are the main technical questions that I had encountered in the two technical interviews: - Interrupt routine life time. - Pins of the SPI and its operation. - Causes of stack overflow. - Difference between memories in terms of speed/density/usage/cost/operation. -PWM operation and parameters. -Difference between startup code / boot loader. -In which memory the Interrupt vector table lies and in which position inside the memory. -Function that takes an array and eliminates any repetitive elements inside an array and returns it (find a proper way to return it). -Function that takes an array and prints another array with same size where the elements in the new array are the number of repetitive times of its indeces .in the input array. Example : Input = [1 2 4 5 6 2 4 0 2 2 3 3] output=[1 1 3 2 1 0 1 0 0 0 0 0] Explanation: 0 was repeated 1 time in the input array so we write 1 at the 0 index at the output array. 1 was repeated 1 time in the input array so we write 1 at the 1 index at the output array. 2 was repeated 3 times in the input array so we write 3 at the 2 index at the output array. 3 was repeated 2 times in the input array so we write 2 at the 3 index at the output array. 4 was repeated 1 time in the input array so we write 1 at the 4 index at the output array. 5 was repeated 0 time in the input array so we write 0 at the 5 index at the output array. ... and so on so forth

i remember only one question in this they give five inputs to array like 2,4,1,0,7 then they said you have one counter initialise it from first element to last element of array if you counter even no. then increase the counter by 2 if you counter odd no. then increase the counter by 1 otherwise go forward without increase the counter.find the value of counter at it pass the array.
avatar

Software Engineer

Interviewed at Craterzone

3.1
Jan 11, 2017

i remember only one question in this they give five inputs to array like 2,4,1,0,7 then they said you have one counter initialise it from first element to last element of array if you counter even no. then increase the counter by 2 if you counter odd no. then increase the counter by 1 otherwise go forward without increase the counter.find the value of counter at it pass the array.

Viewing 2231 - 2240 interview questions

Glassdoor has 467,307 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.