Asif Hossain
@asifhossain_cs
Full Stack Dev & Competitive Programmer ReactJS Dev @KodezenTeam || 1289 rated @Codeforces • http://github.com/its-asif • http://linkedin.com/in/asifhossain-cs/
Tried #CF "24A. Ring Road" today Trick: - Build graph with two edges per road (one free, one with cost). - DFS around the cycle, add costs depending on chosen direction. - Answer = min(clockwise, counter-clockwise). problem: codeforces.com/contest/24/pro… #Codeforces #CP #Graphs
Today solved "Scoring Subsequences" on #codeforces problem link: codeforces.com/problemset/pro… #cp #cf #dsa #ProblemSolving #LearnInPublic
Solved CF – Rudolf and Snowflakes (simple) Insights: - Snowflake vertex counts follow a geometric sum: (k^{m+1}-1)/(k-1) - Not every n is possible (e.g., 6 ❌, 13 ✅) - Precompute all valid values ≤ 1e6 using different k probblem: codeforces.com/problemset/pro… #Codeforces #CP #DSA
Solved CF 2130B. Pathless Observation: - Alice can always loop back & forth to reach sums. - Only blocked if s < sum(a) or s == sum(a)+1. - Else, impossible → -1. Rearrangement trick → put 0s, then 2s, then 1s. Problem link: codeforces.com/problemset/pro… #Codeforces #CP #CPP
Solved "Binary Tree Inorder Traversal" on LeetCode! Used classic recursion: - Traverse left subtree - Visit node - Traverse right subtree This gives the nodes in sorted order for BSTs. Problem link: leetcode.com/problems/binar… #LeetCode #BinaryTree #Coding #Graph_Theory
Solved LeetCode "Word Search"! Used DFS with backtracking: - For each cell, try to match the word recursively in 4 directions - Mark visited cells in-place (with #) to avoid revisiting - Restore cell with backtracking problem: leetcode.com/problems/word-… #LeetCode #Coding #DFS
Solved "Is Graph Bipartite?" on LeetCode! Insight: - Used DFS with coloring - Assign colors (+1, -1) to nodes. - If a neighbor has the same color, it's not bipartite. - Handle disconnected graphs by checking all nodes. problem: leetcode.com/problems/is-gr… #LeetCode #GraphTheory
I developed a Chrome extension to easily browse and jump to your ChatGPT messages. Ideal for anyone who needs to review past messages quickly 🔗 GitHub link: github.com/its-asif/ChatG… I’d love to hear your thoughts & suggestions for improvements! #ChromeExtension #ChatGPT
🚀 Turn your Figma designs into stunning websites with aBlocks! 🎨✨ Copy & paste typography, colors, shadows, and strokes from Figma to WordPress in 1 click! Plus, 22+ blocks to build your site faster. 🌟 🔗 Download: wordpress.org/plugins/ablock…
nextjs gets 400 req/s when rendering a hello world this is 170x slower than rendering the same thing with pure react
Check out my Gig on Fiverr: help you build your project in mern stack fiverr.com/s/NNw4lZy
Hey everyone!! Happy to announce that I just achieved #LeetCode 50 Days Badge 2024 #100DaysOfCode #ProblemSolving #LearnInPublic #DSA #connect #buildinpublic
#Day40🤩of #100daysofcoding Solved today's #Leetcode problem "1598. Crawler Log Folder" in O(n) time complexity here is the solution: leetcode.com/problems/crawl… #ProblemSolving #100DaysOfCode #LearnInPublic #DSA #connect #letsconnect #buildinpublic #cpp
#Day39 of #100daysofcoding Solved today's #Leetcode problem "1701. Average Waiting Time" in O(n) time complexity here is the solution: leetcode.com/problems/avera… #ProblemSolving #100DaysOfCode #LearnInPublic #DSA #connect #letsconnect #buildinpublic #cpp
#Day38 of #100daysofcoding Today's #Leetcode problem "1823. Find the Winner of the Circular Game" solved it in O(k * n) time complexity solution is easy as the k & n can be max 500 #ProblemSolving #100DaysOfCode #LearnInPublic #DSA #connect #letsconnect #buildinpublic #cpp
#Day37 of #100daysofcoding "1518. Water Bottles" - today's #Leetcode problem was another easy one... "Consistency is the key, See you tomorrow" #ProblemSolving #100DaysOfCode #LearnInPublic #DSA #connect #letsconnect #buildinpublic #cpp
#Day36 of #100daysofcoding "2582. Pass the Pillow" - today's #Leetcode problem was an easy one... solved it in O(1) time & space complexity... #ProblemSolving #100DaysOfCode #LearnInPublic #DSA #connect #letsconnect #buildinpublic #cpp
United States Trends
- 1. Packers 95.6K posts
- 2. Eagles 124K posts
- 3. Jordan Love 14.7K posts
- 4. #WWERaw 125K posts
- 5. LaFleur 13.9K posts
- 6. Green Bay 18.6K posts
- 7. $MONTA 1,289 posts
- 8. AJ Brown 6,739 posts
- 9. Patullo 12.1K posts
- 10. Jaelan Phillips 7,515 posts
- 11. Sirianni 4,884 posts
- 12. McManus 4,215 posts
- 13. #GoPackGo 7,827 posts
- 14. Smitty 5,413 posts
- 15. Grayson Allen 3,329 posts
- 16. James Harden 1,572 posts
- 17. Cavs 10.9K posts
- 18. Benítez 8,067 posts
- 19. #MondayNightFootball 1,923 posts
- 20. Vit Krejci N/A
Something went wrong.
Something went wrong.