KhanKamranAlwi Profile Banner
Kamran Khan Alwi Profile
Kamran Khan Alwi

@KhanKamranAlwi

Followers
17
Following
63
Media
153
Statuses
216

Developer | Gen AI, Node.js, Next.js & Automation

New Delhi, India
Joined March 2018
Don't wanna be here? Send us removal request.
@KhanKamranAlwi
Kamran Khan Alwi
1 month
Embeddings are how machines understand meaning - turning words, images, or behaviour into math. This hidden layer powers everything from Google Search to ChatGPT. ๐Ÿ“– Read here:. #AI #MachineLearning #DeepLearning #VectorEmbedding #LLM #TechExplained
Tweet media one
0
1
2
@KhanKamranAlwi
Kamran Khan Alwi
1 month
If youโ€™ve ever been frustrated by an AI forgetting what you said 30 seconds agoโ€ฆ this oneโ€™s for you. Check it out:.๐Ÿ”— #LangGraph #AI #AIConversationalMemory #AgenticAI #LLMs #Chatbots #Blogs.
0
0
0
@KhanKamranAlwi
Kamran Khan Alwi
1 month
Want to read what LangGraph is?.Let's dive in !!. I just published a blog, .LangGraph for Beginners: Building AI That Works . Read here โฌ‡๏ธ.. #LangGraph #AgenticWorkFlow #GenAI
Tweet media one
0
0
0
@KhanKamranAlwi
Kamran Khan Alwi
1 month
Do Check Out!!!. I just published, LangChain vs LangGraph: .The Complete Migration Guide . Medium Link Below โฌ‡๏ธ.. #LangChain #LangGraph #LargeLanguageModels #GenAI #AIAgent
Tweet media one
0
0
0
@KhanKamranAlwi
Kamran Khan Alwi
2 months
Last but not least. ๐Ÿ™. Thanks to everyone who kept me sane when the code didn't. If I can finish 50 days of debugging disasters and late-night breakthroughs, so can you. Let's make consistency louder than perfection. Let's connect!!. #CodeInPublic #DSAJourney #KeepCoding.
0
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
Real talk - this wasn't all victory laps ๐Ÿ˜ค. Week 3: Recursion broke my brain.Week 5: Trees made me question my life choices .Week 6: DP had me crying at 2 AM (literally). But Week 7: Everything clicked. Patterns everywhere. The struggle builds the strength ๐Ÿ’ช.
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
DAY 50/50 โ€“ #DSA50.Search Suggestions System ๐ŸŽฏ. APPROACH:.โ†’ Build a Trie from ALL products first.โ†’ Type char by char = walk through Trie nodes .โ†’ At each node: grab pre-stored top 3 suggestions.โ†’ No complex searches needed!
Tweet media one
1
0
0
@KhanKamranAlwi
Kamran Khan Alwi
2 months
The brutal truth in numbers ๐Ÿ“Š:. โœ… 50+ problems: Arrays โ†’ Binary Search โ†’ Trees โ†’ Graphs โ†’ DP โ†’ Tries. โŒ Perfect streak? Nope, I'm human .โœ… Perfect follow-through? Always. "Good enough" consistency > perfectionist paralysis.
1
0
0
@KhanKamranAlwi
Kamran Khan Alwi
2 months
The Before vs After is kinda hilarious ๐Ÿ›น:. Day 1: Stared at Two Sum."Wait. what's a HashMap again?" ๐Ÿ˜…. Day 50: Just built a Search Suggestions System ."Oh this? Just a Trie with prefix matching and lexicographic sorting". When consistency meets compound learning = magic โœจ.
1
0
0
@KhanKamranAlwi
Kamran Khan Alwi
2 months
I just finished what 92% of people quit by Day 15. 50 DAYS. 8 MAJOR DSA TOPICS. From โ€œWhatโ€™s a HashMap?โ€ to implementing complex algorithms in my sleep. Here's what REALLY happens when you code consistently for 50 straight days ๐Ÿงต. #DSA50Complete #50DaysOfCode #CodeJourney
Tweet media one
1
0
2
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐Ÿ˜ฎโ€๐Ÿ’จ 49/50 done! . ONE. MORE. DAY! ๐ŸŽฏ. Tomorrow: The GRAND FINALE! ๐Ÿ.Time to autocomplete this journey with Search Suggestions System! .Because apparently I need suggestions on how to finish what I started ๐Ÿ˜…. #CodeInPublic #Leetcode #Python #CodingJourney #DSA #AlmostThere.
0
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐ŸŽฏ Leetcode #212 โ€“ Word Search II.Goal: Find all words from list that exist on 2D board. Approach:.โžค Build Trie from word list first.โžค DFS from each board cell with Trie traversal.โžค Mark visited cells, backtrack after exploration.โžค Prune dead Trie nodes for efficiency
Tweet media one
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐Ÿ” Leetcode #211 โ€“ Design Add and Search Words.Goal: Support adding words & searching with '.' wildcard. Approach:.โžค Standard Trie for adding words.โžค DFS helper for search with '.' handling.โžค If '.' โ†’ check all possible child paths.โžค Recursive backtracking through Trie nodes
Tweet media one
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
DAY 49/50 โ€“ #DSA50.Topic: Trie + Backtracking/DFS. Today's Leetcode grind:.#211 โ€“ Design Add and Search Words.#212 โ€“ Word Search II. Let's break it down.#Leetcode #Trie #Backtracking #DSAChallenge #50DaysOfCode
Tweet media one
Tweet media two
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐Ÿ”ฅ Takeaways.โžค Trie = efficient prefix operations with children dict.โžค Build nodes with is_end flag for word boundaries.โžค Perfect for autocomplete, spell checkers, word games.โžค Prefix matching becomes O(m) instead of O(n*m).#CodeInPublic #Leetcode #Python #CodingJourney #DSA.
0
0
0
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐Ÿ”„ Leetcode #648 โ€“ Replace Words. Goal: Replace sentence words with their shortest root . Approach:.โžค Build Trie from dictionary roots.โžค For each word, find shortest matching prefix.โžค Replace word with root if found, else keep original.โžค Join modified words back to sentence
Tweet media one
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐ŸŒณ Leetcode #208 โ€“ Implement Trie (Prefix Tree).Approach:.โžค TrieNode with children dict + is_end flag.โžค Insert: traverse/create nodes for each char.โžค Search: check if word exists + ends at valid node.โžค StartsWith: check if prefix path exists. Foundation for all Trie problems!
Tweet media one
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
DAY 48/50 โ€“ #DSA50. Today's Leetcode grind:.#208 โ€“ Implement Trie (Prefix Tree).#648 โ€“ Replace Words. Let's break it down.#Leetcode #Trie #DSAChallenge #50DaysOfCode
Tweet media one
Tweet media two
1
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐Ÿ”ฅ Takeaways. 2D DP mastery for string comparison problems.LCS = foundation for edit distance & diff algorithms.Pattern recognition getting stronger with practice. Tomorrow: Trie data structures!.Implement Trie & Replace Words. #CodeInPublic #Leetcode #Python #CodingJourney #DSA.
0
0
1
@KhanKamranAlwi
Kamran Khan Alwi
2 months
๐Ÿ”— Leetcode #1143 โ€“ Longest Common Subsequence. Goal: Find length of longest common subsequence between two strings. Approach:.โžค Classic 2D DP comparing chars of both strings.โžค If match: 1 + lcs(m-1, n-1).โžค If no match: max(lcs(m-1, n), lcs(m, n-1))
Tweet media one
1
0
0