1) 0:00 Explaining the problem out loud
2) 3:00 Algorithm walkthrough
3) 8:00 Coding it up
4) 12:40 Time complexity
TC :O(n)
SC :O(n)
where n is the no elements in the input array
Code Link
https://github.com/Sunchit/Coding-Decoded/blob/master/January2021/CheckFormationThroughConcatenation.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
Download
0 formats
No download links available.
Check Array Formation Through Concatenation | Leetcode 1640 | Live Coding session | NatokHD