Add office photos
Premium Employer

Blue Yonder

4.0
based on 499 Reviews
Filter interviews by

Acuity Knowledge Partners Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. What is pessimistic locking and optimistic locking?

Ans.

Pessimistic locking is when a resource is locked for a long time, while optimistic locking is when a resource is locked only when it is being modified.

  • Pessimistic locking involves locking a resource for a long time to prevent other users from accessing it.

  • Optimistic locking involves locking a resource only when it is being modified, allowing other users to access it in the meantime.

  • Pessimistic locking is useful when conflicts are likely to occur, while optimistic locking is u...read more

Add your answer

Q2. Check whether two strings are anagrams of each other

Ans.

Check if two strings are anagrams of each other

  • Create a character count array for both strings

  • Compare the character count arrays

  • If they are equal, the strings are anagrams

Add your answer

Q3. List some REST endpoints for a ticket booking system

Ans.

REST endpoints for a ticket booking system

  • GET /events - get list of available events

  • GET /events/{id} - get details of a specific event

  • POST /events/{id}/tickets - book tickets for an event

  • GET /bookings - get list of all bookings

  • GET /bookings/{id} - get details of a specific booking

  • PUT /bookings/{id} - update a booking

  • DELETE /bookings/{id} - cancel a booking

Add your answer

Q4. Java performance and query optimization in oracle

Ans.

Java performance and query optimization in Oracle

  • Use prepared statements to avoid SQL injection and improve performance

  • Use indexes to speed up query execution

  • Avoid using SELECT * and only select necessary columns

  • Use connection pooling to reuse database connections

  • Use caching to reduce database round trips

  • Tune database parameters like buffer cache and shared pool size

  • Use profiling tools to identify performance bottlenecks

Add your answer
Discover Acuity Knowledge Partners interview dos and don'ts from real experiences

Q5. Make a Java class immutable

Ans.

To make a Java class immutable, use final keyword and initialize all fields in constructor.

  • Use final keyword for class and all fields

  • Initialize all fields in constructor

  • Do not provide setter methods

  • Make sure to return a new instance in any method that modifies the state

Add your answer

Q6. Design for shorten url

Ans.

Shorten URL design involves generating a unique short code for a long URL to save space and improve usability.

  • Use a hashing algorithm to generate a unique short code for each URL

  • Store the mapping between short code and long URL in a database

  • Redirect users to the long URL when they access the short URL

  • Consider adding expiration time for short URLs to prevent abuse

  • Provide analytics to track usage of short URLs

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Lead Software Engineer Interview Questions from Similar Companies

4.0
 • 16 Interview Questions
3.5
 • 15 Interview Questions
3.5
 • 13 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
Get AmbitionBox app

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