Add office photos
HashedIn by Deloitte logo
Engaged Employer

HashedIn by Deloitte

Verified
4.2
based on 414 Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Software Developer
Fresher
Clear (2)

HashedIn by Deloitte Software Developer Interview Questions and Answers for Freshers

Updated 6 Jun 2024

Q1. Designing of APIs, SQL query to find second largest value

Ans.

Designing APIs and finding second largest value in SQL query.

  • For API design, consider RESTful principles and use clear and concise naming conventions.

  • For finding second largest value in SQL, use ORDER BY and LIMIT clauses.

  • Consider edge cases such as duplicates and null values.

  • Test thoroughly to ensure correct functionality.

Add your answer
right arrow

Q2. Sort an array of 0s,1s,2s in O(n) time.

Ans.

Sort an array of 0s, 1s, 2s in linear time.

  • Use three pointers to keep track of the positions of 0s, 1s, and 2s.

  • Traverse the array once and swap elements based on their values.

  • The final array will have 0s, 1s, and 2s grouped together in that order.

Add your answer
right arrow

Q3. Find if pair sum exists in array

Ans.

Check if there exists a pair of numbers in the array that add up to a given sum.

  • Iterate through the array and for each element, check if the difference between the sum and the element exists in the array using a hash table.

  • Alternatively, sort the array and use two pointers to traverse from both ends towards the middle, adjusting the pointers based on the sum of the current pair.

Add your answer
right arrow

Q4. Kth smallest element in array

Ans.

Finding the Kth smallest element in an array.

  • Sort the array and return the Kth element.

  • Use a min heap to find the Kth smallest element.

  • Use quickselect algorithm to find the Kth smallest element.

  • Divide and conquer approach using binary search.

  • Use selection algorithm to find the Kth smallest element.

Add your answer
right arrow
Discover HashedIn by Deloitte interview dos and don'ts from real experiences

Q5. what is abstraction and encapsulation

Ans.

Abstraction is the concept of hiding complex implementation details and showing only the necessary information. Encapsulation is bundling data and methods that operate on the data into a single unit.

  • Abstraction focuses on what an object does rather than how it does it

  • Encapsulation restricts access to some of an object's components, protecting the object's integrity

  • Abstraction allows for creating simple interfaces for complex systems

  • Encapsulation helps in achieving data hiding...read more

Add your answer
right arrow

Q6. what is multiple inheritance

Ans.

Multiple inheritance is a feature in object-oriented programming where a class can inherit attributes and methods from more than one parent class.

  • Allows a class to inherit attributes and methods from multiple parent classes

  • Can lead to the Diamond Problem where ambiguity arises if two parent classes have a method with the same name

  • Languages like C++ support multiple inheritance

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 HashedIn by Deloitte Software Developer for Freshers

based on 1 interviews
Interview experience
5.0
Excellent
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

IBM Logo
4.0
 • 49 Interview Questions
Quikr Logo
3.7
 • 35 Interview Questions
PayPal Logo
3.9
 • 27 Interview Questions
View all
Recently Viewed
INTERVIEWS
HashedIn by Deloitte
Fresher
5.6k top interview questions
INTERVIEWS
Tvs Brakes India Pvt Ltd Sholinghur
No Interviews
INTERVIEWS
Tvs Brakes India Pvt Ltd Sholinghur
No Interviews
INTERVIEWS
HashedIn by Deloitte
10 top interview questions
INTERVIEWS
Tvs Brakes India Pvt Ltd Sholinghur
No Interviews
INTERVIEWS
Tvs Brakes India Pvt Ltd Sholinghur
No Interviews
INTERVIEWS
Netcracker Technology
10 top interview questions
INTERVIEWS
Mahindra Construction Equipment
No Interviews
SALARIES
Tvs Brakes India Pvt Ltd Sholinghur
SALARIES
Tvs Brakes India Pvt Ltd Sholinghur
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