Add office photos
Employer?
Claim Account for FREE

Directi

4.0
based on 58 Reviews
Filter interviews by

Disha Classes Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Duplicate Elements in Array

You are provided with an array or list called ARR, consisting of N integers. These integers fall within the range from 0 to N - 1. Some elements in this array may appear more than on...read more

Add your answer

Q2. Maximum Sum Subarray Problem Statement

Given an array of integers, find the maximum sum of any contiguous subarray within the array.

Example:

Input:
array = [34, -50, 42, 14, -5, 86]
Output:
137
Explanation:

Th...read more

Add your answer

Q3. Exclusive Time of Functions

We are executing a program containing 'N' functions on a single-threaded CPU. Each function has a unique 'ID' between 0 and (N-1). Each time a function starts or ends, a log is recor...read more

Add your answer

Q4. Dijkstra's Algorithm Problem Statement

Given an undirected graph with 'V' vertices (labeled 0, 1, ..., V-1) and 'E' edges, where each edge connects two nodes ('X', 'Y') and has a weight that denotes the distanc...read more

Add your answer
Discover Disha Classes interview dos and don'ts from real experiences

Q5. Occurrence of X in a Sorted Array Problem Statement

Given a sorted array of integers of size N and an integer X, determine the total number of occurrences of X in the array.

Input:

The first line of the input c...read more
Add your answer

Q6. Leaf Nodes Retrieval from Binary Tree

Given a binary tree, implement a function that returns a list of leaf nodes following their appearance from left to right. If leaf nodes are equidistant from the leftmost n...read more

Add your answer

Q7. Find Triplets with Given Sum Problem Statement

Given an array ARR consisting of N integers, your task is to identify all distinct triplets within the array that sum up to a given integer K.

Explanation:

An arra...read more

Add your answer

Q8. Stock Buy and Sell Problem Statement

Given an array/list 'prices' where the elements represent yesterday's stock prices at each minute, determine the maximum profit possible from a single buy and sell action.

Y...read more

Add your answer

Q9. Box Stacking Problem Statement

Consider you are provided with 'n' different types of rectangular 3D boxes. For each type of box, you have three separate arrays: height, width, and length that define the dimensi...read more

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

Interview Process at Disha Classes

based on 3 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.3
 • 46 Interview Questions
3.9
 • 34 Interview Questions
2.0
 • 22 Interview Questions
3.1
 • 19 Interview Questions
4.0
 • 16 Interview Questions
3.4
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 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