Top Tweets for #75hardcoding
Day 27/75 #75HardCoding | P 3 & 4
•Find Minimum in Rotated Array: O(log n) TC | O(1) SC
•Count Occurrences: O(log n) TC | O(1) SC
Leveraging boundary properties to extract tracking details in pure logarithmic passes.
#DataStructures #Cpp #LeetCode #GeeksforGeeks #Consistency

Day 27/75 #75HardCoding | P 1 & 2 🔄
Search in Rotated Sorted Array I & II
• Rotated Search I (Distinct): O(log n) TC | O(1) SC
• Rotated Search II (Duplicates): O(n) Worst Case TC | O(1)SC
#DSA #DataStructures #Cplusplus #LeetCode #SoftwareEngineering #Consistency

Day 26/75 #75HardCoding | P-4
Floor and Ceil in Unsorted Array
• Brute Force: O(n) TC | O(1) SC (Linear search)
• Optimal: O(n log n) TC | O(1) SC (Sort+Binary Search)
Details below👇
#DSA #DataStructures #Cplusplus #LeetCode #GeeksforGeeks #SoftwareEngineering #Consistency

Day 26/75 #75HardCoding | P 2 & 3
Implement Lower Bound & Upper Bound
• Lower Bound: O(log n) TC | O(1) SC
• Upper Bound: O(log n) TC | O(1) SC
Mastering the subtle conditional shifts that redefine search space boundaries. Details below.
#100DaysOfCode #DSA #LeetCode #Cpp

Day 26/75 #75HardCoding | P-1
Find First and Last Position of Element in Sorted Array
• Optimal:O(log n)TC | O(1)SC
Modifying standard binary search boundaries into independent dual tracking registers to find bound frequencies. Details below.
#100DaysOfCode #DSA #LeetCode #Cpp

Day 25/75 #75HardCoding
Search Insert Position
•Optimal: O(log n)TC | O(1)SC
Not feeling my best physically these days, so stepping back from heavy Mediums to prioritize recovery while keeping the daily habit alive.Log binary tracking logic below.
#100DaysOfCode #DSA #LeetCode

Day 24/75 #75HardCoding |
🔍Binary Search
• Optimal: O(log n) TC | O(1) SC
Ditching linear scans on sorted data. Implementing a classic divide-and-conquer approach to slash lookup times down to logarithmic complexity.
#DSA #DataStructures #Cpp #LeetCode #Consistency

Day 23/75 #75HardCoding | Part 2
Merge Intervals
• Brute Force: O(n log n + n^2)TC | O(n)SC
• Optimal: O(n log n)TC | O(n)SC
Refining interval overlap checking from a quadratic lookup scan down to a single linear pass.
#DSA #DataStructures #Cplusplus #LeetCode #Consistency

Day 23/75 #75HardCoding | Part 1
Merge Sorted Array
• Brute Force: O((m + n) log(m + n)) TC | O(1) SC
• Optimal: O(m + n) TC | O(1) SC
Overcoming sorting overhead by u#LeetCode back-to-front pointer placement.
#DSA #DataStructures #Cplusplus #LeetCode #SoftwareEngineering

Day 22/75 #75HardCoding
Count Subarrays with Given XOR
• Brute: O(n^2) TC | O(1) SC
• Optimal: O(n) TC | O(n) SC
Swapping nested window scans for optimal prefix hash mapping to track bitwise operations in linear time.
#DSA #Cplusplus #GeeksforGeeks #LeetCode #Consistency

Day 21/75 #75HardCoding | Part 2
Longest Consecutive Subsequence
• Brute Force: O(n^3) TC | O(1) SC
• Better: O(n log n) TC | O(1) SC
• Optimal: O(n) TC | O(n) SC
Optimizing sequence searches using hashing mechanics. 👇
#DataStructures #Cpp #GeeksforGeeks #DSA #LeetCode

Day 21/75 #75HardCoding | Part 1
Best Time to Buy and Sell Stock
• Brute Force: O(n^2) TC | O(1) SC
• Optimal: O(n) TC | O(1) SC
Breaking down the linear transition path from a nested time limit bottleneck down to a single-pass solution below.👇
#100DaysOfCode #DSA #LeetCode

Day 20/75 #75HardCoding | Part 2
152. Maximum Product Subarray
• Brute: O(n²) TC | O(1) SC (Nested loops)
• Optimal: O(n) TC | O(1) SC (Prefix & Suffix tracking)
#DSA #DataStructures #Cplusplus #LeetCode #SoftwareEngineering #Consistency #ContinuousLearning

Day 20/75 #75HardCoding | Part 1
229. Majority Element II
• Brute: O(n²) TC | O(1) SC (Nested loops)
• Better: O(n) TC | O(n) SC (Hashing)
• Optimal: O(n) TC | O(1) SC (Boyer-Moore Voting)
Details below
#100DaysOfCode #DSA #DataStructures #Cpp #LeetCode #SoftwareEngineering

Trends for you
Most Popular Users

Elon Musk 
@elonmusk
240.1M followers

Barack Obama 
@barackobama
119.3M followers

Donald J. Trump 
@realdonaldtrump
111.6M followers

Cristiano Ronaldo 
@cristiano
108.8M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
97.2M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
90.5M followers

KATY PERRY 
@katyperry
86.7M followers

Taylor Swift 
@taylorswift13
80.5M followers

Lady Gaga 
@ladygaga
72.1M followers

Kim Kardashian 
@kimkardashian
69.3M followers

YouTube 
@youtube
68.6M followers

Virat Kohli 
@imvkohli
68.4M followers

Bill Gates 
@billgates
63.4M followers

The Ellen Show
@theellenshow
62.5M followers

CNN 
@cnn
61.9M followers

Neymar Jr 
@neymarjr
61M followers

X 
@x
60.9M followers

CNN Breaking News 
@cnnbrk
59.9M followers














