Technical exam was made-up assembly programming. Was also asked to do a Java implementation of LinkedList.
Developer Interview Questions
269,373 developer interview questions shared by candidates
Reverse the words in a input string.
How do you declare a variable that you only want to be instantiated pnce?
What's the difference between an abstract class and an interface.
They do what they called a whiteboard session where you are asked a general OOP problem and asked to write out how the objects and methods would be set up for the problem.
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.
What are three things you look for in an employer.
What will be printed after the following code? class TestClass { var aBlock: (() -> ())? = nil let aConstant = 5 init() { print("init") self.aBlock = { print(self.aConstant) } } deinit { print("deinit") } } var testClass: TestClass? = TestClass() testClass = nil
Series problem:1) What is wrong number with this series: 4,6,8,9,10,11,12
Can you declare an abstract class final?
Viewing 2341 - 2350 interview questions