#365daysofcodesolved search results

๐Ÿš€ Day 24/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Longest Subarray with Sum = K๐Ÿ”น Sliding Window โ†’ works only for positives ๐Ÿ”น Prefix Sum + HashMap โ†’ handles +ve & โˆ’ve ๐Ÿ”น Key idea: store first occurrence of prefix sum๐Ÿ“Œ Learned when to switch approaches #DSA #LeetCode #ProblemSolving

shivam21102005's tweet image. ๐Ÿš€ Day 24/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Longest Subarray with Sum = K๐Ÿ”น Sliding Window โ†’ works only for positives
๐Ÿ”น Prefix Sum + HashMap โ†’ handles +ve & โˆ’ve
๐Ÿ”น Key idea: store first occurrence of prefix sum๐Ÿ“Œ Learned when to switch approaches
#DSA #LeetCode #ProblemSolving

๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ)) ๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically #LeetCode #SlidingWindow

shivam21102005's tweet image. ๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ))
๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically
 #LeetCode #SlidingWindow
shivam21102005's tweet image. ๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ))
๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically
 #LeetCode #SlidingWindow

๐Ÿš€ Day 25/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Maximum Consecutive Ones๐Ÿ”น Traverse once, track current streak ๐Ÿ”น Reset count on 0 ๐Ÿ”น Update max length on the go๐Ÿ“Œ Simple logic, powerful pattern #DSA #LeetCode #ProblemSolving #Cplusplus #Consistency

shivam21102005's tweet image. ๐Ÿš€ Day 25/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Maximum Consecutive Ones๐Ÿ”น Traverse once, track current streak
๐Ÿ”น Reset count on 0
๐Ÿ”น Update max length on the go๐Ÿ“Œ Simple logic, powerful pattern
#DSA #LeetCode #ProblemSolving #Cplusplus #Consistency

๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal ๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning #DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency

shivam21102005's tweet image. ๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal
๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning
#DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency
shivam21102005's tweet image. ๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal
๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning
#DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency

๐Ÿš€ Day 32/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ—‚๏ธ Merge Intervals ๐ŸŽฏ 4Sum Problem๐Ÿ”น Sorting + smart traversal ๐Ÿ”น Interval merging with range expansion ๐Ÿ”น Two pointers inside nested loops ๐Ÿ”น Careful duplicate handling๐Ÿ“Œ Learned how sorting #DSA #LeetCode #ProblemSolving #Cplusplus

shivam21102005's tweet image. ๐Ÿš€ Day 32/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ—‚๏ธ Merge Intervals
๐ŸŽฏ 4Sum Problem๐Ÿ”น Sorting + smart traversal
๐Ÿ”น Interval merging with range expansion
๐Ÿ”น Two pointers inside nested loops
๐Ÿ”น Careful duplicate handling๐Ÿ“Œ Learned how sorting #DSA #LeetCode #ProblemSolving #Cplusplus

๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved: ๐Ÿช Assign Cookies โณ Minimum Average Waiting Time ๐Ÿ”น Applied Greedy Strategy ๐Ÿ”น Sorted inputs to make optimal decisions ๐Ÿ”น Understood why smallest-first approach minimizes waiting #DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding

shivam21102005's tweet image. ๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved:
๐Ÿช Assign Cookies
โณ Minimum Average Waiting Time
๐Ÿ”น Applied Greedy Strategy
๐Ÿ”น Sorted inputs to make optimal decisions
๐Ÿ”น Understood why smallest-first approach minimizes waiting 
#DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding
shivam21102005's tweet image. ๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved:
๐Ÿช Assign Cookies
โณ Minimum Average Waiting Time
๐Ÿ”น Applied Greedy Strategy
๐Ÿ”น Sorted inputs to make optimal decisions
๐Ÿ”น Understood why smallest-first approach minimizes waiting 
#DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding

๐Ÿš€ Day 31/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”Ž Find Missing & Repeating Number๐Ÿ”น Used mathematical formulas ๐Ÿ”น Sum of first n numbers ๐Ÿ”น Sum of squares of first n numbers ๐Ÿ”น Derived equations to find both valuesโšก O(n) time | O(1) space #DSA #ProblemSolving #Cplusplus #LeetCode

shivam21102005's tweet image. ๐Ÿš€ Day 31/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”Ž Find Missing & Repeating Number๐Ÿ”น Used mathematical formulas
๐Ÿ”น Sum of first n numbers
๐Ÿ”น Sum of squares of first n numbers
๐Ÿ”น Derived equations to find both valuesโšก O(n) time | O(1) space
#DSA #ProblemSolving #Cplusplus #LeetCode

๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal ๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning #DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency

shivam21102005's tweet image. ๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal
๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning
#DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency
shivam21102005's tweet image. ๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal
๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning
#DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency

๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved: ๐Ÿช Assign Cookies โณ Minimum Average Waiting Time ๐Ÿ”น Applied Greedy Strategy ๐Ÿ”น Sorted inputs to make optimal decisions ๐Ÿ”น Understood why smallest-first approach minimizes waiting #DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding

shivam21102005's tweet image. ๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved:
๐Ÿช Assign Cookies
โณ Minimum Average Waiting Time
๐Ÿ”น Applied Greedy Strategy
๐Ÿ”น Sorted inputs to make optimal decisions
๐Ÿ”น Understood why smallest-first approach minimizes waiting 
#DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding
shivam21102005's tweet image. ๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved:
๐Ÿช Assign Cookies
โณ Minimum Average Waiting Time
๐Ÿ”น Applied Greedy Strategy
๐Ÿ”น Sorted inputs to make optimal decisions
๐Ÿ”น Understood why smallest-first approach minimizes waiting 
#DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding

๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ)) ๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically #LeetCode #SlidingWindow

shivam21102005's tweet image. ๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ))
๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically
 #LeetCode #SlidingWindow
shivam21102005's tweet image. ๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ))
๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically
 #LeetCode #SlidingWindow

๐Ÿš€ Day 32/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ—‚๏ธ Merge Intervals ๐ŸŽฏ 4Sum Problem๐Ÿ”น Sorting + smart traversal ๐Ÿ”น Interval merging with range expansion ๐Ÿ”น Two pointers inside nested loops ๐Ÿ”น Careful duplicate handling๐Ÿ“Œ Learned how sorting #DSA #LeetCode #ProblemSolving #Cplusplus

shivam21102005's tweet image. ๐Ÿš€ Day 32/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ—‚๏ธ Merge Intervals
๐ŸŽฏ 4Sum Problem๐Ÿ”น Sorting + smart traversal
๐Ÿ”น Interval merging with range expansion
๐Ÿ”น Two pointers inside nested loops
๐Ÿ”น Careful duplicate handling๐Ÿ“Œ Learned how sorting #DSA #LeetCode #ProblemSolving #Cplusplus

๐Ÿš€ Day 31/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”Ž Find Missing & Repeating Number๐Ÿ”น Used mathematical formulas ๐Ÿ”น Sum of first n numbers ๐Ÿ”น Sum of squares of first n numbers ๐Ÿ”น Derived equations to find both valuesโšก O(n) time | O(1) space #DSA #ProblemSolving #Cplusplus #LeetCode

shivam21102005's tweet image. ๐Ÿš€ Day 31/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”Ž Find Missing & Repeating Number๐Ÿ”น Used mathematical formulas
๐Ÿ”น Sum of first n numbers
๐Ÿ”น Sum of squares of first n numbers
๐Ÿ”น Derived equations to find both valuesโšก O(n) time | O(1) space
#DSA #ProblemSolving #Cplusplus #LeetCode

๐Ÿš€ Day 25/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Maximum Consecutive Ones๐Ÿ”น Traverse once, track current streak ๐Ÿ”น Reset count on 0 ๐Ÿ”น Update max length on the go๐Ÿ“Œ Simple logic, powerful pattern #DSA #LeetCode #ProblemSolving #Cplusplus #Consistency

shivam21102005's tweet image. ๐Ÿš€ Day 25/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Maximum Consecutive Ones๐Ÿ”น Traverse once, track current streak
๐Ÿ”น Reset count on 0
๐Ÿ”น Update max length on the go๐Ÿ“Œ Simple logic, powerful pattern
#DSA #LeetCode #ProblemSolving #Cplusplus #Consistency

๐Ÿš€ Day 24/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Longest Subarray with Sum = K๐Ÿ”น Sliding Window โ†’ works only for positives ๐Ÿ”น Prefix Sum + HashMap โ†’ handles +ve & โˆ’ve ๐Ÿ”น Key idea: store first occurrence of prefix sum๐Ÿ“Œ Learned when to switch approaches #DSA #LeetCode #ProblemSolving

shivam21102005's tweet image. ๐Ÿš€ Day 24/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Longest Subarray with Sum = K๐Ÿ”น Sliding Window โ†’ works only for positives
๐Ÿ”น Prefix Sum + HashMap โ†’ handles +ve & โˆ’ve
๐Ÿ”น Key idea: store first occurrence of prefix sum๐Ÿ“Œ Learned when to switch approaches
#DSA #LeetCode #ProblemSolving

No results for "#365daysofcodesolved"

๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ)) ๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically #LeetCode #SlidingWindow

shivam21102005's tweet image. ๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ))
๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically
 #LeetCode #SlidingWindow
shivam21102005's tweet image. ๐Ÿš€ Day 34/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”ค Longest Substring Without Repeating Characters๐Ÿ”น Approach 1: Brute Force (O(nยฒ))
๐Ÿ”น Approach 2: Sliding Window + Hashing (O(n))๐Ÿ“Œ Learned how optimizing window movement reduces complexity drastically
 #LeetCode #SlidingWindow

๐Ÿš€ Day 25/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Maximum Consecutive Ones๐Ÿ”น Traverse once, track current streak ๐Ÿ”น Reset count on 0 ๐Ÿ”น Update max length on the go๐Ÿ“Œ Simple logic, powerful pattern #DSA #LeetCode #ProblemSolving #Cplusplus #Consistency

shivam21102005's tweet image. ๐Ÿš€ Day 25/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Maximum Consecutive Ones๐Ÿ”น Traverse once, track current streak
๐Ÿ”น Reset count on 0
๐Ÿ”น Update max length on the go๐Ÿ“Œ Simple logic, powerful pattern
#DSA #LeetCode #ProblemSolving #Cplusplus #Consistency

๐Ÿš€ Day 24/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Longest Subarray with Sum = K๐Ÿ”น Sliding Window โ†’ works only for positives ๐Ÿ”น Prefix Sum + HashMap โ†’ handles +ve & โˆ’ve ๐Ÿ”น Key idea: store first occurrence of prefix sum๐Ÿ“Œ Learned when to switch approaches #DSA #LeetCode #ProblemSolving

shivam21102005's tweet image. ๐Ÿš€ Day 24/365 โ€“ #365DaysOfCodeSolved: ๐Ÿงฉ Longest Subarray with Sum = K๐Ÿ”น Sliding Window โ†’ works only for positives
๐Ÿ”น Prefix Sum + HashMap โ†’ handles +ve & โˆ’ve
๐Ÿ”น Key idea: store first occurrence of prefix sum๐Ÿ“Œ Learned when to switch approaches
#DSA #LeetCode #ProblemSolving

๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal ๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning #DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency

shivam21102005's tweet image. ๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal
๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning
#DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency
shivam21102005's tweet image. ๐Ÿš€ Day 48/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ” Reverse Nodes in K Group โ†’ recursion + pointer reversal
๐Ÿง  Copy List with Random Pointer โ†’ in-place node cloning
#DSA #LeetCode #LinkedList #ProblemSolving #Cplusplus #Consistency

๐Ÿš€ Day 32/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ—‚๏ธ Merge Intervals ๐ŸŽฏ 4Sum Problem๐Ÿ”น Sorting + smart traversal ๐Ÿ”น Interval merging with range expansion ๐Ÿ”น Two pointers inside nested loops ๐Ÿ”น Careful duplicate handling๐Ÿ“Œ Learned how sorting #DSA #LeetCode #ProblemSolving #Cplusplus

shivam21102005's tweet image. ๐Ÿš€ Day 32/365 โ€“ #365DaysOfCodeSolved:
๐Ÿ—‚๏ธ Merge Intervals
๐ŸŽฏ 4Sum Problem๐Ÿ”น Sorting + smart traversal
๐Ÿ”น Interval merging with range expansion
๐Ÿ”น Two pointers inside nested loops
๐Ÿ”น Careful duplicate handling๐Ÿ“Œ Learned how sorting #DSA #LeetCode #ProblemSolving #Cplusplus

๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved: ๐Ÿช Assign Cookies โณ Minimum Average Waiting Time ๐Ÿ”น Applied Greedy Strategy ๐Ÿ”น Sorted inputs to make optimal decisions ๐Ÿ”น Understood why smallest-first approach minimizes waiting #DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding

shivam21102005's tweet image. ๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved:
๐Ÿช Assign Cookies
โณ Minimum Average Waiting Time
๐Ÿ”น Applied Greedy Strategy
๐Ÿ”น Sorted inputs to make optimal decisions
๐Ÿ”น Understood why smallest-first approach minimizes waiting 
#DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding
shivam21102005's tweet image. ๐Ÿš€ Day 37/365 โ€“ #365DaysOfCodeSolved:
๐Ÿช Assign Cookies
โณ Minimum Average Waiting Time
๐Ÿ”น Applied Greedy Strategy
๐Ÿ”น Sorted inputs to make optimal decisions
๐Ÿ”น Understood why smallest-first approach minimizes waiting 
#DSA #LeetCode #Greedy #ProblemSolving #Cplusplus #Coding

๐Ÿš€ Day 31/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”Ž Find Missing & Repeating Number๐Ÿ”น Used mathematical formulas ๐Ÿ”น Sum of first n numbers ๐Ÿ”น Sum of squares of first n numbers ๐Ÿ”น Derived equations to find both valuesโšก O(n) time | O(1) space #DSA #ProblemSolving #Cplusplus #LeetCode

shivam21102005's tweet image. ๐Ÿš€ Day 31/365 โ€“ #365DaysOfCodeSolved: ๐Ÿ”Ž Find Missing & Repeating Number๐Ÿ”น Used mathematical formulas
๐Ÿ”น Sum of first n numbers
๐Ÿ”น Sum of squares of first n numbers
๐Ÿ”น Derived equations to find both valuesโšก O(n) time | O(1) space
#DSA #ProblemSolving #Cplusplus #LeetCode

Loading...

Something went wrong.


Something went wrong.