
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
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
0
1
2
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
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
0
0
0
Do Check Out!!!. I just published, LangChain vs LangGraph: .The Complete Migration Guide . Medium Link Below โฌ๏ธ.. #LangChain #LangGraph #LargeLanguageModels #GenAI #AIAgent
0
0
0
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
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!
1
0
0
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
1
0
2
๐ฎโ๐จ 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
๐ฏ 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
1
0
1
๐ 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
1
0
1
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
1
0
1
๐ฅ 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
๐ 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
1
0
1
๐ณ 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!
1
0
1
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
1
0
1
๐ฅ 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
๐ 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))
1
0
0