Why Affirma?
Senior Software Interview Questions
99,670 senior software interview questions shared by candidates
Write an algorithm to determine if a string is a palindrome.
Why is thread run method protected and not public, if it is in object class?
Java Strings and FileReader questions
Why I didn't passed the test? Was it difficult?
1st was an Object-oriented sys design. 2nd was a Parsing question
Was asked to explain the architecture of a project I worked on. Was asked to explain how rendering works on modern GPUs.
Just an uninteresting question from leetcode.
I was given a very long scenario and asked to whiteboard the structure of the application.
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 831 - 840 interview questions