Ankush kunwar
Dec 5, 2023

Thanks for suggesting tom .... will check.... but we can optimize this approach from recursion to stack based or we can use LRU cache for the same... and for memory optimization we can use generator concept also tom..... thanks for reading!

Ankush kunwar
Ankush kunwar

Written by Ankush kunwar

Experienced Software Engineer Skilled in Microservices, Backend Development, System Design, Python, Java, Kubernetes, Docker, AWS, and Problem Solving

No responses yet