Add office photos
Engaged Employer

Quess

3.8
based on 7.5k Reviews
Video summary
Filter interviews by

D K Hospitality Interview Questions and Answers

Updated 15 Dec 2024
Popular Designations

Q1. Maximum Path Sum in a Matrix

Given an N*M matrix filled with integer numbers, determine the maximum sum that can be obtained from a path starting from any cell in the first row to any cell in the last row.

You ...read more

Ans.

Find the maximum sum path in a matrix from top row to bottom row by moving down or diagonally.

  • Use dynamic programming to keep track of maximum sum at each cell.

  • At each cell, consider the maximum sum from the cell above, left diagonal, and right diagonal.

  • Add the current cell value to the maximum of the three possibilities.

  • Repeat this process for all cells in the matrix to find the maximum sum path.

Add your answer

Q2. Intersection of Linked List Problem

You are provided with two singly linked lists containing integers, where both lists converge at some node belonging to a third linked list.

Your task is to determine the data...read more

Ans.

Find the node where two linked lists merge, return -1 if no merging occurs.

  • Traverse both lists to find the lengths and the last nodes

  • Align the starting points of the lists by adjusting the pointers

  • Traverse both lists simultaneously until a common node is found

Add your answer

Q3. Boolean Matrix Transformation Challenge

Given a 2-dimensional boolean matrix mat of size N x M, your task is to modify the matrix such that if any element is 1, set its entire row and column to 1. Specifically,...read more

Ans.

Modify a boolean matrix such that if any element is 1, set its entire row and column to 1.

  • Iterate through the matrix to find elements with value 1

  • Store the row and column indices of these elements

  • Update the entire row and column for each element found to be 1

Add your answer

Q4. What are the responsibilities of a Data Analyst?

Ans.

Data Analysts are responsible for collecting, processing, and analyzing data to help organizations make informed decisions.

  • Collecting and organizing data from various sources

  • Cleaning and processing data to ensure accuracy and consistency

  • Analyzing data using statistical techniques and tools

  • Creating visualizations and reports to present findings

  • Interpreting data to provide insights and recommendations

  • Collaborating with stakeholders to understand business needs and goals

Add your answer
Discover D K Hospitality interview dos and don'ts from real experiences

Q5. Explain collection framework and uses

Ans.

Collection framework is a set of interfaces and classes in Java that provide a way to store and manipulate groups of objects.

  • Provides interfaces like List, Set, Map for storing collections of objects

  • Includes classes like ArrayList, HashSet, HashMap for implementing these interfaces

  • Allows for easy manipulation, sorting, searching, and iteration of collections

  • Used in various applications like data processing, data storage, and data retrieval

Add your answer

Q6. Explain springboot and it's annotation

Ans.

Spring Boot is a Java-based framework used for creating standalone, production-grade Spring-based applications.

  • Spring Boot simplifies the process of creating Spring applications by providing defaults for configuration and eliminating the need for XML configuration files.

  • Annotations in Spring Boot are used to simplify the configuration of Spring applications by providing metadata about the application.

  • Examples of annotations in Spring Boot include @SpringBootApplication, @Rest...read more

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

Interview Process at D K Hospitality

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 Engineer Interview Questions from Similar Companies

3.8
 • 22 Interview Questions
4.0
 • 19 Interview Questions
3.1
 • 14 Interview Questions
3.8
 • 11 Interview Questions
3.4
 • 10 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
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