Why Affirma?
Senior Developer Interview Questions
29,089 senior developer interview questions shared by candidates
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.
Why two calls to printf with same parameters were giving completely different results?
Given an array & a value x, find if the array contains any 2 values whoes sum = x
How would you consume from a WCF web service running on IIS?
How would you deal with a developer who writes bad code?
Spring boot related questions, Oops concepts
What is your experience with Angular?
If you were dropped into a strange city with no cell phone and needed to find the location of the nearest bus stop what would you do first. Ask someone? Find a map? Just start searching?
Write Java code to find K-complementary pairs in a given array of integers. Given Array A, pair (i, j) is K- complementary if K = A[i] + A[j];
Viewing 201 - 210 interview questions