#interview-questions
Read more stories on Hashnode
Articles with this tag
Ninja's Training using RecursiveDP(Top-Bottom)(TC:O(3*4*n)&SC:O(4*n)+O(n)call stack)&Using Iterative DP(Bottom-Up)(TC:O(3*4*n)&SC:O(4*n) O(1)(sp.opt) ·...
Special Keyboard using Recursive DP(TC:O(n) & SC:O(n)) & using Iterative DP(TC:O(n) & SC:O(n)) · Question Link:...
Next Permutation using in-built function called next_permutation(O(n!*n)TC & O(1)SC) and using Intuition and efficient method (O(n)TC & O(1)SC) ·...