- There is a pricing service which connects to Reuters & Bloomberg and fetches the latest price for the given Instrument Tics. There could be multiple price events for the same Stock and we need to consider the latest one. Design a service to show prices for the Top 10 stocks of the Day ? Solution is discussed in eBook
- There is a very Big file containing many words, how will you read and process it to print the below information ?
a) Top 10 ranked distinct words.
b) Occurrence of each Alphabet in the file.
- How will you implement a Stack using a Queue ?
- How will you implement a Queue using a Stack ?
- How will you design a two way Elevator Software for a building ?
- What is Immutability ? How will you make a class Immutable in Java ?
- How will you achieve thread-safety in your Java Program ?
- What are the ways to increase throughput of a multi-threaded java program ? (concurrency enhancements - use java.util.concurrent package, connection pooling, other resource pooling, caching, GC tuning, etc.)
- How will you troubleshoot poor memory performance of a live production program ?
- How will you find a single duplicate number from a large array in minimum time ?