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
Technical Analyst
Clear (1)

HashedIn by Deloitte Technical Analyst Interview Questions and Answers

Updated 5 Feb 2024

Q1. Optimize the code for job scheduling written in the first round

Ans.

Optimize job scheduling code

  • Use priority queue to efficiently schedule jobs

  • Implement dynamic programming to optimize job sequence

  • Consider parallel processing to reduce overall time

  • Use efficient data structures to store job information

Add your answer
right arrow

Q2. Optimize the code for generating prime numbers

Ans.

Use Sieve of Eratosthenes algorithm to optimize prime number generation.

  • Implement Sieve of Eratosthenes algorithm to eliminate non-prime numbers

  • Use boolean array to mark non-prime numbers

  • Start with 2 and mark all its multiples as non-prime, then move to next unmarked number

  • Stop at square root of the upper limit to optimize performance

Add your answer
right arrow

Q3. Give a solution to store newspapers of a company

Ans.

Store newspapers of a company

  • Create a database to store newspaper information

  • Use a unique identifier for each newspaper

  • Include fields for date, title, author, and content

  • Implement a search function for easy retrieval

  • Consider implementing a backup system for data security

Add your answer
right arrow

Q4. Implement a min stack using a single stack

Ans.

Implement a min stack using a single stack

  • Create a stack to hold the elements and another stack to hold the minimum values

  • When pushing an element, check if it's smaller than the current minimum and push it to the minimum stack if it is

  • When popping an element, check if it's the current minimum and pop it from the minimum stack if it is

  • To get the minimum value, return the top element of the minimum stack

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

Q5. Difference between a semaphore and mutex

Ans.

Semaphore is used to control access to a resource with limited capacity while mutex is used to synchronize access to a shared resource.

  • Semaphore allows multiple threads to access a resource simultaneously up to a certain limit while mutex allows only one thread to access a shared resource at a time.

  • Semaphore can be used to solve the producer-consumer problem while mutex can be used to solve the critical section problem.

  • Semaphore can be binary or counting while mutex is always...read more

Add your answer
right arrow

Q6. Why Hashedin

Ans.

Hashedin is a leading software development company with a focus on delivering innovative solutions.

  • Expertise in cutting-edge technologies

  • Proven track record of successful project delivery

  • Strong emphasis on client satisfaction

  • Collaborative and agile approach to development

  • Dedicated team of experienced professionals

Add your answer
right arrow

Q7. Explain the deadlock condition

Ans.

Deadlock is a situation where two or more processes are unable to proceed because they are waiting for each other to release resources.

  • Occurs in multi-process systems

  • Processes hold resources and wait for others to release resources

  • Can lead to system freeze or crash

  • Prevented by proper resource allocation and scheduling

  • Example: Two trains on a single track, each waiting for the other to pass first

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 tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Technical Analyst Interview Questions from Similar Companies

Coforge Logo
3.3
 • 39 Interview Questions
Infosys Logo
3.6
 • 19 Interview Questions
ION Group Logo
3.5
 • 17 Interview Questions
View all
Recently Viewed
INTERVIEWS
Tvs Brakes India Pvt Ltd Sholinghur
No Interviews
SALARIES
HashedIn by Deloitte
INTERVIEWS
Xebia
No Interviews
JOBS
Security and Intelligence Services (India)
No Jobs
INTERVIEWS
HashedIn by Deloitte
No Interviews
INTERVIEWS
HashedIn by Deloitte
No Interviews
INTERVIEWS
HashedIn by Deloitte
No Interviews
INTERVIEWS
HashedIn by Deloitte
No Interviews
SALARIES
HashedIn by Deloitte
INTERVIEWS
Magna International
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