Senior Software Engineer C Interview Questions

95,740 senior software engineer c interview questions shared by candidates

Validate input String of the form: [program name] --COUNT [INTVALUE] --NAME [STRING VALUE] --HELP They can be in any order. If help is typed it always takes precedence. There were some additional rules mentioned in the problem description and several hidden rules which were not mentioned.
avatar

Senior Software Engineer

Interviewed at Kabbage

4.2
Mar 29, 2019

Validate input String of the form: [program name] --COUNT [INTVALUE] --NAME [STRING VALUE] --HELP They can be in any order. If help is typed it always takes precedence. There were some additional rules mentioned in the problem description and several hidden rules which were not mentioned.

The problem involves processing a 2D array representing an image, where each pixel is either a `0` or `1`. The array may contain one or more rectangular regions of `0`s surrounded by `1`s. The tasks are: 1. **Identify Rectangles**: Write a function that detects all rectangles of `0`s in the 2D array, returning the coordinates of the top-left and bottom-right corners for each rectangle. 2. **Handle Multiple Rectangles**: Adapt the solution to correctly identify and manage multiple separate rectangles within the image. 3. **Check Point Inside Rectangles**: Implement functionality to determine if a given point is inside any of the detected rectangles.
avatar

Senior Android Developer

Interviewed at Reddit

3.9
Oct 11, 2024

The problem involves processing a 2D array representing an image, where each pixel is either a `0` or `1`. The array may contain one or more rectangular regions of `0`s surrounded by `1`s. The tasks are: 1. **Identify Rectangles**: Write a function that detects all rectangles of `0`s in the 2D array, returning the coordinates of the top-left and bottom-right corners for each rectangle. 2. **Handle Multiple Rectangles**: Adapt the solution to correctly identify and manage multiple separate rectangles within the image. 3. **Check Point Inside Rectangles**: Implement functionality to determine if a given point is inside any of the detected rectangles.

Viewing 801 - 810 interview questions

Glassdoor has 95,740 interview questions and reports from Senior software engineer c interviews. Prepare for your interview. Get hired. Love your job.