Replying to @moraes_c_
@moraes_c_ @github
My github account has been suspended for a month plus now for no reason, this has paused my development.
Day 32 of #GeekStreak60
βLargest BSTβ had me stuck for a bit π
Tried to find BSTs manuallyβ¦ didnβt work.
Switched approach β let each subtree decide if itβs a BST.
That changed everything.
#npci #coding #algorithms #GeekStreak60
Day 25.
Minimum K consecutive bit flips.
Instead of flipping bits every time, track flip state with a sliding window.
If current bit (after flips) is 0 β start a flip.
Greedy + difference array trick.Time: O(n)
#geekstreak60 #npci #DSA
Day 23.
Subarrays where the first element is the minimum.
Key idea:
Find the next smaller element using a monotonic stack.
If next smaller index is j,
valid subarrays starting at i = j - i.
Time: O(n)Stack patterns everywhere.
#geekstreak60 #npci #DSA
Day 22.
Largest number in one swap.
Track last position of digits 0β9.
From left β find a bigger digit later β swap once.
Greedy + indexing trick.O(n).
#geekstreak60 #npci #DSA
ππππ βπ¦ππ₯ππ£ retweeted
Open Source Automation Project
One student built an automation workflow used in an open-source project.
The workflow supports contributor coordination in GitPadi.
Real projects create stronger learning.
npmjs.com/package/gitpadi?acβ¦
ππππ βπ¦ππ₯ππ£ retweeted
Set a reminder for my upcoming Space! xitter.cf/i/spaces/1wGWjaRllwnKQ
Day 19.
Smallest window containing all characters.
Sliding window again.Count chars in p.
Expand right.
Shrink left when all chars are matched.
Track the smallest window.
Time: O(n)Patterns keep repeating in DSA.
#geekstreak60 #DSA #CodingJourney #npci
Stellar Pulse #episode 2 with manojimenzG xitter.cf/i/spaces/1wxWjalNmEVJQ
Built Maverick β an autonomous multi-agent wallet ecosystem on Solana where AI agents create their own wallets, sign transactions, trade, swap, lend, and talk back to you.
Every operation is a real on-chain transaction on devnet. No mocks.
Thread on what it does
Security matters even in a prototype:
- Each agent has an isolated keypair
- Vault keypair is separate only it can sign outbound vault txs
- Append-only audit trail with tx signatures
- Block height expiry handling verifies tx landed on-chain before reporting failure
Day 18.
Longest substring with exactly K distinct characters.
Sliding window + frequency map.
Expand right.
Shrink left when uniques > k.
Track max when uniques == k.
O(n) time.Patterns make problems easier.
#geekstreak60 #DSA #Coding #npci
Day 17.
Max XOR subarray of size K.
Use sliding window + XOR cancellation trick.
a ^ a = 0 β remove old element, add new one.
O(n) instead of O(n*k).
Patterns everywhere.
#geekstreak60 #npci #DSA
Day 16.
Longest subarray with at most 2 distinct numbers.
Sliding window + hashmap.
Shrink when distinct > 2.
Same core pattern showing up again.
#geekstreak60 #npci #DSA














