MindTickle
Abjayon Interview Questions and Answers
Q1. Search in a Row-wise and Column-wise Sorted Matrix Problem Statement
You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the position of ...read more
This question asks to find the position of a target integer in a row-wise and column-wise sorted matrix.
Iterate through each row and column of the matrix
Compare the target integer with the current element
If the target integer is found, return the position as {i, j}
If the target integer is not found, return {-1, -1}
Q2. Trapping Rain Water Problem Statement
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine the tota...read more
The question asks to find the total amount of rainwater that can be trapped in the given elevation map.
Iterate through the array and find the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water for all bars and return the total amount.
Q3. Ninja and His Meetings Problem Statement
Ninja has started a new startup with a single conference room available for meetings. Given an array/list MEETINGS
of consecutive appointment requests, Ninja must decide...read more
Q4. Smallest Subarray With K Distinct Elements
Given an array A
consisting of N
integers, your task is to find the smallest subarray of A
that contains exactly K
distinct integers.
If multiple such subarrays exist,...read more
Q5. Trapping Rain Water II Problem Statement
Given an M * N matrix where each cell's value represents its height in a 2-D elevation map, calculate the total volume of water that can be trapped after rainfall.
Input...read more
Q6. Design LLD for Parking Lot
Design LLD for Parking Lot
Create classes for ParkingLot, ParkingSpot, Vehicle, etc.
Implement methods for parking, unparking, checking availability, etc.
Consider different types of vehicles and parking spots (e.g. regular, handicapped, electric)
Include features like ticketing system, payment processing, and security measures
More about working at MindTickle
Interview Process at Abjayon
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month