C Software Engineer Interview Questions

3,488 c software engineer interview questions shared by candidates

[Having enough disk space and small memory space,] given a big file of JSON objects which separated using a random character each time, find a way to sort objects by a string representation of JSON, i.e. in JS the order would result to: objects.map(o => JSON.stringify(o)).sort() > Notice, the order should be the same. We cannot allocate enough memory, but we may be sure we can allocate memory for a couple of objects. Then write the ordered objects to another file or to the same file.
avatar

C# Developer

Interviewed at OZON.ru

4.2
Jun 16, 2019

[Having enough disk space and small memory space,] given a big file of JSON objects which separated using a random character each time, find a way to sort objects by a string representation of JSON, i.e. in JS the order would result to: objects.map(o => JSON.stringify(o)).sort() > Notice, the order should be the same. We cannot allocate enough memory, but we may be sure we can allocate memory for a couple of objects. Then write the ordered objects to another file or to the same file.

Viewing 591 - 600 interview questions

Glassdoor has 3,488 interview questions and reports from C software engineer interviews. Prepare for your interview. Get hired. Love your job.