Add office photos
MindTickle logo
Employer?
Claim Account for FREE

MindTickle

2.8
based on 86 Reviews
Filter interviews by
Software Developer
Clear (1)

MindTickle Software Developer Interview Questions and Answers

Updated 28 Nov 2024

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

Ans.

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}

Add your answer
right arrow

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

Ans.

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.

Add your answer
right arrow

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

Ans.

Find the maximum total booked minutes possible in a conference room for all meetings with a 15-minute break between meetings.

  • Iterate through the list of meeting durations and calculate the maximum total booked minutes considering the 15-minute break constraint.

  • Keep track of the total booked minutes and skip consecutive meetings that violate the break constraint.

  • Return the maximum total booked minutes for each test case.

Add your answer
right arrow

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

Ans.

Find the smallest subarray with exactly K distinct elements in an array.

  • Use a sliding window approach to keep track of the subarray with K distinct elements.

  • Maintain a hashmap to count the frequency of each element in the window.

  • Update the window size based on the number of distinct elements.

  • Return the smallest subarray with K distinct elements.

Add your answer
right arrow
Discover MindTickle interview dos and don'ts from real experiences

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

Ans.

Calculate the total volume of water that can be trapped in a 2-D elevation map after rainfall.

  • Iterate through each cell in the matrix and calculate the trapped water based on the surrounding heights.

  • Use a stack or queue to keep track of the cells to be processed.

  • Consider edge cases such as when the matrix is empty or has only one row or column.

Add your answer
right arrow

Q6. Design LLD for Parking Lot

Ans.

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

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at MindTickle Software Developer

based on 3 interviews
Interview experience
1.7
Bad
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

Deloitte Logo
3.8
 • 45 Interview Questions
Lowe's Logo
4.1
 • 10 Interview Questions
View all
Recently Viewed
INTERVIEWS
Loylty Rewardz Mngt
No Interviews
INTERVIEWS
R Systems International
No Interviews
INTERVIEWS
Netcore Cloud Private Limited
No Interviews
INTERVIEWS
MindTickle
No Interviews
INTERVIEWS
Inniti Network Solutions
No Interviews
INTERVIEWS
Netcore Cloud Private Limited
No Interviews
INTERVIEWS
CJ Darcl Logistics Limited
No Interviews
INTERVIEWS
ITC Infotech
No Interviews
INTERVIEWS
Netcore Cloud Private Limited
No Interviews
INTERVIEWS
Loylty Rewardz Mngt
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter