Professional Documents
Culture Documents
Shop Up 19 C024
Shop Up 19 C024
Shop Up 19 C024
First i have given bruteforce solution and was asked to reduce the time complexity and have
given hashmap approach
1. *
**
***
****
*****
2. 1****
12***
123**
1234*
12345
3. *
***
*****
***
*