
MindTickle

10+ MindTickle 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
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.
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
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.
Q5. Is Bipartite Graph Problem
You are provided with an undirected graph having 'N' nodes numbered from 0 to 'N-1'. There is a list 'EDGES' of size 'M', which contains all the edges of this graph. The task is to de...read more
Determine if a given undirected graph is Bipartite or not.
Check if the graph can be divided into two sets such that each edge connects nodes from different sets.
Use BFS or DFS to color nodes alternatively and check for any conflicts.
If a conflict is found, the graph is not Bipartite.
If no conflict is found, the graph is Bipartite.
Q6. 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
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.
Q7. Topological Sort Problem Statement
You have a directed acyclic graph (DAG). The task is to determine any topological sorting of this graph.
Explanation:
A Directed Acyclic Graph (DAG) is a graph that has direct...read more
Implement a function to determine any topological sorting of a directed acyclic graph (DAG).
Create a graph using the given input of nodes and edges
Perform a topological sort on the graph to find a valid ordering of vertices
Output the sorted vertices as a single line for each test case
Q8. polyfill of promise.all and debounce. use debounce in example
Implement polyfill of promise.all and debounce function with example
Create a polyfill for Promise.all by using Promise constructor and Promise.resolve
Implement debounce function by using setTimeout and clearTimeout
Example: const debouncedFunction = debounce(() => { console.log('debounced function called') }, 300)
Q9. Machine coding to build a basic data grid component
Implement a basic data grid component using machine coding
Start by defining the structure of the data grid component
Implement functions for adding, updating, and deleting data in the grid
Include features like sorting, filtering, and pagination
Consider performance optimizations for handling large datasets
Test the data grid component with sample data to ensure functionality
Q10. Find the repeating characters from a string in a single loop
To find repeating characters from a string in a single loop.
Create an empty array to store repeating characters
Loop through each character of the string
If the character is already in the array, add it to the array
Return the array of repeating characters
Yes, an online Chess Board Game can be designed with features like multiplayer mode, AI opponent, chat functionality, and leaderboard.
Implement a chess board with 64 squares and pieces (king, queen, rook, etc.)
Include multiplayer mode for playing against friends or random opponents
Develop an AI opponent with varying difficulty levels
Incorporate chat functionality for communication between players
Include a leaderboard to track player rankings
An online transport rental service allows users to book vehicles for short-term use.
Users can search for available vehicles based on location, date, and time.
The service should include options for different types of vehicles such as cars, bikes, and scooters.
Users should be able to make reservations, view rental details, and make payments online.
The platform should have a rating system for both users and vehicles to ensure quality service.
Integration with mapping services lik...read more
Q13. 1. Give an example of when you iterated on your product.
Iterated on a product to improve user experience
Identified pain points through user feedback
Conducted user research to understand user needs
Implemented changes based on feedback and research
Tested new features with a subset of users
Analyzed data and user feedback to further refine the product
Q14. Alien Dictionary Problem
The Alien Dictionary Problem is a question that involves sorting words based on a given alien language's alphabetical order.
The problem can be solved using topological sorting.
Create a graph where each character is a node and each word is an edge.
Perform a topological sort on the graph to get the correct order of characters.
If there is a cycle in the graph, it means the alien language is invalid.
Q15. tell something that is not in the resume
Q16. frontend code quality
Frontend code quality is crucial for performance, maintainability, and scalability of web applications.
Consistent coding style and conventions improve readability and maintainability.
Modular and reusable code components enhance scalability and reduce duplication.
Regular code reviews and testing ensure high quality and bug-free code.
Optimizing performance by minimizing file sizes, reducing HTTP requests, and using efficient algorithms.
Implementing accessibility features to ens...read more
Q17. Design a Card Game BlackJack
Design a card game BlackJack
Create a deck of 52 cards
Assign values to cards (number cards are worth their face value, face cards are worth 10, Ace can be 1 or 11)
Deal 2 cards to each player and dealer, one of the dealer's cards is hidden
Players can choose to 'hit' (draw another card) or 'stand' (keep current hand)
Dealer must hit until their hand value is 17 or higher
Player wins if their hand value is closer to 21 than the dealer's without exceeding 21
Q18. Design Mindtickle - B2b SAAS Platform.
Mindtickle is a B2B SAAS platform designed to help companies train and develop their sales teams through interactive learning modules.
Focus on creating engaging and interactive training modules for sales teams
Include features for tracking progress and performance analytics
Integrate with CRM systems for seamless data flow
Offer customization options for different industries and sales processes
Q19. 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

Top HR Questions asked in MindTickle
Interview Process at MindTickle

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

