Top Tweets for #namasteDev
π Day 22/365 β DSA
β
Solved LC 34 β Find First and Last Position of Element in Sorted Array
π‘ Biggest learning:
Used Binary Search twice to efficiently find the left and right boundaries of the target
#365DaysOfCode #LeetCode #DSA #BinarySearch #JavaScript #NamasteDev

π Day 21/365 β DSA
β
Solved LC 540 β Single Element in a Sorted Array
π‘ Biggest learning:
Used Binary Search + Index Parity to identify which half contains the single element
#365DaysOfCode #LeetCode #DSA #BinarySearch #JavaScript #NamasteDev

π Day 20/365 β DSA
β
Solved LC 852 β Peak Index in a Mountain Array
Pattern: Binary Search (Peak Finding)
β±οΈ O(log n) | π¦ O(1)
#365DaysOfCode #LeetCode #DSA #BinarySearch #JavaScript #NamasteDev

π Day 19/365 β DSA
β
Solved LC 153 β Find Minimum in Rotated Sorted Array
π‘ Biggest learning:
In a rotated sorted array, compare
Pattern: Modified Binary Search
β±οΈ O(log n) | π¦ O(1)
#365DaysOfCode #LeetCode #DSA #BinarySearch #JavaScript #NamasteDev

π Day 18/365 β DSA
β
Solved LC 162 β Find Peak Element
π‘ Today's learning:
Understood how Binary Search can be applied even on an unsorted array by using the slope between adjacent elements to eliminate half of the search space
#365DaysOfCode #LeetCode #DSA #NamasteDev

π Day 16/365 β DSA
β
Solved LC 33 β Search in Rotated Sorted Array
π‘ Today's learning:
Mastered Modified Binary Search by identifying the sorted half
Pattern: Modified Binary Search
β±οΈ Time: O(log n) | π¦ Space: O(1)
#365DaysOfCode #LeetCode #DSA #NamasteDev

π Day 14/365 β DSA
β
Solved LC 69 β Sqrt(x)
π‘ Today's biggest learning:
Understood Binary Searc
Pattern: Binary Search
β±οΈ Time: O(log n) | π¦ Space: O(1)
#365DaysOfCode #LeetCode #DSA #BinarySearch #NamasteDev #JavaScript #CodingJourney

π Day 13/365 β DSA
β
Solved LC 239 β Sliding Window Maximum
π‘ Today's learning:
Explored the Monotonic Queue (Deque) pattern
#365DaysOfCode #LeetCode #DSA #SlidingWindow #Deque #NamasteDev #JavaScript #CodingJourney

π Day 12/365 β DSA
No new LeetCode problems today.
Instead, I revised:
β
LC 11 β Container With Most Water
β
LC 424 β Longest Repeating Character Replacement
β
LC 567 β Permutation in String
#365DaysOfCode #LeetCode #DSA #Revision #SlidingWindow #TwoPointers #NamasteDev
π Day 11/365 β DSA
β
Solved LC 567 β Permutation in String
π‘ Today's learning:
Explored the Fixed Sliding Window pattern using a frequency array to compare character counts efficiently.
#365DaysOfCode #LeetCode #DSA #SlidingWindow #NamasteDev #JavaScript #CodingJourney

π Day 10/365 β DSA
β
Solved LC 424 β Longest Repeating Character Replacement
Today's biggest learning:
Understanding the Variable Sliding Window pattern
Pattern: Sliding Window + HashMap
β±οΈ Time: O(n) | π¦ Space: O(1)
#365DaysOfCode #LeetCode #DSA #SlidingWindow #NamasteDev

π Day 8/365 β DSA
Solved β
LC 11 β Container With Most Water
π‘ Biggest learning:
Two Pointers isn't just about using two indicesβit's about making the right greedy decision.
Pattern: Two Pointers + Greedy
Time: O(n) | Space: O(1)
#365DaysOfCode #LeetCode #DSA #NamasteDev

π Day 7/365 β DSA
Solved today:
β
LC 15 β 3Sum
β
LC 28 β Find the Index of the First Occurrence in a String
π‘ Biggest learnings:
β’ Sorting + Two Pointers
β’ Brute Force String Matching
#365DaysOfCode #LeetCode #DSA #NamasteDev #JavaScript #CodingJourney

π Day 6/365 β DSA
Solved today:
β
LC 167 β Two Sum II
β
LC 392 β Is Subsequence
β
LC 88 β Merge Sorted Array
Key learnings:
β’ Two Pointers
β’ Same Direction pointers
β’ Reverse Direction merge
β’ Time: O(n) / O(m+n)
β’ Space: O(1)
#365DaysOfCode #DSA #LeetCode #NamasteDev

π Day 5/365 β DSA
Solved today:
β
LC 344 β Reverse String
β
LC 1 β Two Sum
Learned the Two Pointers and Complement Lookup (HashMap) patterns. Also understood the one-pass HashMap approach
#365DaysOfCode #DSA #NamasteDev #LeetCode #JavaScript

π Day 4/365 β DSA
Solved today:
β
LC 485 β Max Consecutive Ones
β
LC 268 β Missing Number
β
LC 136 β Single Number
Learned Array Traversal, Math Formula, HashMap,One step closer every day. πͺ
#365DaysOfCode #DSA #NamasteDev #LeetCode #JavaScript

π Day 3/365 β DSA Journey
Today's progress:
β
LeetCode 121 β Best Time to Buy and Sell Stock
* Pattern: Greedy (Running Minimum)
* Time: O(n) | Space: O(1)
β
LeetCode 283 β Move Zeroes
* Pattern: Two Pointers
* Time: O(n) | Space: O(1)
#365DaysOfCode #DSA #NamasteDev
π Day 2/365 β DSA Journey
Today I solved:
* β
LeetCode 26 β Remove Duplicates from Sorted Array
* β
LeetCode 27 β Remove Element
Key Learnings:
* Two Pointer technique
* In-place array modification
#365DaysOfCode #DSA #NamasteDev #LeetCode #JavaScript #TwoPointers

Day 2 / 100 β DSA Journey π
Learning DSA from Namaste Dev.
Today I covered:
β’Functions
β’IfβElse conditions
β’Loops (Part 1 & Part 2)
β’Practiced multiple problems to strengthen logic.
#100DaysOfCode
#DSA
#CodingJourney
#NamasteDev
#LearnToCode
#SoftwareEngineer

Day 119 of DSA.
Resumed DSA after a short break today.
Solved Letter Combinations of a Phone Number using backtracking.
Staying consistent and focused on fundamentals. π
#DSA #javascript #namastedev #backtracking

Most Popular Users

Elon Musk 
@elonmusk
241M followers

Barack Obama 
@barackobama
119.2M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Cristiano Ronaldo 
@cristiano
111.8M followers

Narendra Modi 
@narendramodi
107M followers

Rihanna 
@rihanna
98M followers

NASA 
@nasa
92.2M followers

Justin Bieber 
@justinbieber
91.2M followers

KATY PERRY 
@katyperry
88.3M followers

Taylor Swift 
@taylorswift13
82.2M followers

Lady Gaga 
@ladygaga
73.7M followers

Virat Kohli 
@imvkohli
70.9M followers

Kim Kardashian 
@kimkardashian
70.1M followers

YouTube 
@youtube
68.7M followers

Bill Gates 
@billgates
64.2M followers

Neymar Jr 
@neymarjr
63.8M followers

The Ellen Show
@theellenshow
62.4M followers

CNN 
@cnn
61.8M followers

Selena Gomez 
@selenagomez
61.4M followers

X 
@x
60.8M followers









