Round 1
Design a stock market service (Both HLD and LLD). It should have below three apis
PUT /stock
Body:
{
stock_symbol: "MICROSOFT"
stock_value: 22
}
GET /stock/{stock_symbol}
return stock_value
There are two type of threads HydrogenThread and OxygenThread. HydrogenThread prints "H" and OxygenThread prints "O". Write multithreaded program to produce series of characters such that for two H there is one O. for Ex:HHO HOH HHO OHH HOH .........
Round 2
Round 3