Advent of Code 2021 | Day 1 | Solution in Python3
These are the solutions for both the parts in the Advent of Code 2021 Day 1.
Accounts Merge | LeetCode | Solution Explained
LeetCode 721. Accounts Merge. I explain the solution in detail using the data structure: Disjoint Set Union or...
Remove Consecutive Characters | InterviewBit | Solution Explained
InterviewBit Remove Consecutive Characters. Solution explained simply & in detail.
Product of Array Except Self | LeetCode | Solution Explained
LeetCode 238. Product of Array Except Self. I explain the intuitions and observations and explain the solution in...
Largest Component Size by Common Factor | LeetCode | Solution Explained
Largest Component Size by Common Factor. I make this problem easy by explaining the solution in an...
Count and Say | LeetCode | InterviewBit | Solution Explained
Count and Say is an interesting problem. It only requires the knowledge of basics of strings and...
Text Justification | LeetCode | InterviewBit | Solution Explained
Text Justification LeetCode/Justified Text InterviewBit is a interesting problem. I use raw logic to explain the solution...
Kth Smallest Number in Multiplication Table | LeetCode | Solution Explained
668. Kth Smallest Number in Multiplication Table. I explain the binary search approach in detail along with visuals...
Largest Divisible Subset | LeetCode | GeeksforGeeks | DP Solution Explained
368. Largest Divisible Subset. I explain the Dynamic Programming approach using simple examples and visuals, along with an...
Daily Temperatures | LeetCode | Stack Solution Explained
ily Temperatures LeetCode becomes easier to solve with the knowledge of Next Greatest Element (NGE). I explain...