Senior C Developer Interview Questions

365 senior c developer interview questions shared by candidates

- what is the different between compiler and linker? - write a suitable data structure for: million words, each word contains up to 20 chars. There are 25 chars in the language. - I was given a code and I had to find the bugs
avatar

Senior Developer C/C++

Interviewed at PTC

4.1
Feb 22, 2021

- what is the different between compiler and linker? - write a suitable data structure for: million words, each word contains up to 20 chars. There are 25 chars in the language. - I was given a code and I had to find the bugs

Given an integer array and another number, find a pair whose sum is given number. Best solution is to use unordered map <int, int> then use this logic map[sum - a[i]] = a[i]; // O(n) then, for each a[i], if map[a[i]] present then that will be the answer. // O(n)
Feb 27, 2018

Given an integer array and another number, find a pair whose sum is given number. Best solution is to use unordered map <int, int> then use this logic map[sum - a[i]] = a[i]; // O(n) then, for each a[i], if map[a[i]] present then that will be the answer. // O(n)

Viewing 341 - 350 interview questions

Glassdoor has 365 interview questions and reports from Senior c developer interviews. Prepare for your interview. Get hired. Love your job.