Get Maximum in Generated Array | Leetcode 1646

1) 0:00 Explaining the problem out loud 2) 1:28 Algorithm walkthrough 3) 4:00 Coding it up 4) 6:00 Time complexity // TC : O(n) // SC :O(n) , n is the no of elements in the input array Code Link…

Get Maximum in Generated Array | Leetcode 1646

Source

0
(0)

1) 0:00 Explaining the problem out loud
2) 1:28 Algorithm walkthrough
3) 4:00 Coding it up
4) 6:00 Time complexity

// TC : O(n)
// SC :O(n) , n is the no of elements in the input array

Code Link https://github.com/Sunchit/Coding-Decoded/blob/master/January2021/GetMaximumInGeneratedArray.java

Repo link : https://github.com/Sunchit/Coding-Decoded/

Complete January Playlist: https://www.youtube.com/playlist?list=PLEI-q7w3s9gR8EhTsObcgM74NnIiAcRWm

Complete December Playlist: https://www.youtube.com/playlist?list=PLEI-q7w3s9gQIB_urBmMV04f_NBelXJEP

Channel link: https://www.youtube.com/c/CodingDecoded

0 / 5. 0