Algorithm & Blockchain
@AlgoNChain
Followers
32
Following
121
Media
46
Statuses
139
Blockchain | Shopify | Software Engineering.
United States
Joined December 2024
✅Product of Array Except Self (Solved Leetcode 238.) => Using Two-Pass Array Traversal technique. @lifeatgoogle @lifeatmeta @amazonjobs @MicrosoftLife
#DSA
0
0
4
✅88. Merge Sorted Array (Solved Leetcode 88.) => Using Two-pointer technique with a reverse merge approach. @lifeatgoogle @lifeatmeta @amazonjobs @MicrosoftLife #DSA
0
0
2
✅Best Time to Buy and Sell Stock (Solved Leetcode 121.) 📝Single-pass greedy approach 🧭 Prepping DSA for @lifeatgoogle @JoinStripe @lifeatmeta @amazonjobs @MicrosoftLife
#DSA
0
0
2
🗒️Solved Leetcode 283: Move Zeroes. 🧠Using the two-pointer technique. 📝One pointer "non-zero-position" and another "r" that iterates over the list to the end. 📷 Prepping DSA for @lifeatgoogle @JoinStripe @lifeatmeta @amazonjobs @MicrosoftLife
#DSA
0
0
5
APPROACH: 1. Loop through array 2. For each num, calc complement = target - num 3. If complement in hash map, return [map[complement], current index] 4. Else, add num:index to map 5. O(n) time, O(n) space 🎯 Prepping DSA for @lifeatgoogle @lifeatmeta
0
0
0
🧠 Solved Leetcode 1: Two Sum (Easy) 📁 Array + Hash Map ✍️ Mastered O(n) lookup for complements using dict. 🏆 From brute force (O(n²)) to clean O(n) magic! 🎯 Prepping DSA for @lifeatgoogle @lifeatmeta @amazonjobs @MicrosoftLife @nvidiadeepcareers @JoinStripe
#DSA
1
0
3
Trade-ofs: Time Complexity: O(n) // Time grows linearly with the size Space complexity: O(1) // In-place operation takes constant space
0
0
0
Python Tip: In-place list reversal explained! 1. This `reverseString` function reverses a list directly (in-place). 2. Uses two pointers: `left` starts at index 0, `right` at the end. 3. They move inwards, swapping elements (`s[left]`, `s[right]`) until they meet.
1
0
0
🧠 Solved Leetcode 344: Reverse String (Easy) 🔍 Mastered the Two Pointer technique to reverse strings in-place. 📅 Day 1 of #Leetcode | #DSA 🎯 Targeting: @Google @Meta @LifeAtMeta @Microsoft @lifeatgoogle @Tesla @X
#Efficient #CodeExplained #Python #Algorithms
1
0
1
0
0
2
Time Complexity: O(row_length + col_length) - We make at most row_length downward moves and col_length leftward moves. - No step is wasted; each move eliminates a row or column. Space Complexity: O(1) - Only use two pointers (r and c). @Microsoft @amazon
1
0
2
LeetCode 240. Search a 2D Matrix II done! Implemented an optimized search for a 2D sorted matrix. Using Top-Right Corner Elimination - O(m + n) Approach! #leetcode #efficiency #softwareengineer #codinginterview #amazon
@Google
1
0
3
Time complexity : O(log(r * c)) Space complexity : O(1)
0
0
2
Best solution in python, and is easy to understand.
1
0
2
Join me in transforming physiotherapy! #PhysioChain is open for collaborations & partnerships. Whether you’re a developer, healthcare pro, or innovator, let’s build something impactful together. DMs are open, let’s make it happen! @kmpdu @PatrickAlphaC @Web3Clubs @LiskHQ
0
1
2
Building #PhysioChain into a must-have tool for physiotherapy! Over the next weeks, I’ll focus on: 1. Collaborating with doctors & patients to ensure real-world impact. 2. Mastering Solidity for secure, scalable smart contracts. Stay tuned for more DSA/LeetCode content, Solidity
1
1
3
From real-time exercise validation to tokenized rewards, we’re transforming patient care. Let’s revolutionize physiotherapy together! With AI & Web3—secure, scalable, and patient-centric care. #Web3 #AI #HealthTech
1
1
2
Big News! After winning Cohort 7 at @Web3Clubs, I’m stepping back to refine PhysioChain. More DSA (LeetCode) & System Design content. Learning secure, gas-efficient Solidity. Active in Web3 events. Open to partnerships (DM or email). Full update in the attachment.
1
1
3