wangjstu (@wangjstu) profile picture

出海Junior engineer,出海探索学习ing。 终身学习者。

Macau
Joined October 2013
Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)Photo by wangjstu (@wangjstu)
还记得你何时加入 X 吗?我知道!#我的X周年纪念日
1
11
刷,还是有用的
刷 LeetCode 提高效率的关键,本质上就是模式识别(Pattern Recognition)。 当你拿到一道新题,不该盲目暴力枚举,而是要在 30 秒内完成抽象: 看到“连续子数组的最大/最小值” -->联想滑动窗口; 看到“Top K 问题” -->直接锁定堆/优先队列; 看到“图的最短路径” --> 秒套 BFS 模板。 算法面试不是拼即兴灵感,而是拼特征提取与代码模板的熟练度。把常见的数据结构与算法模式拆解透,看到题目自然能瞬间匹配出最优解法。 ---- 🚀 建议收藏!NeetCode 150 完整刷题清单 + 模式分类速查 刷题不在多而在精,把这 150 道经典题按模式分类刷透,LeetCode 提高的核心本质就是“模式识别”。看到题目要求,能秒级抽象出对应的数据结构与算法模板,面试基本上就稳了! 以下是 NeetCode 150 的 15 个核心分类及完整题目清单 帮助你开始你的模式识别训练: --- 📌 1. Array & Hashing (数组与哈希) - 9 题 1. Contains Duplicate 2. Valid Anagram 3. Two Sum 4. Group Anagrams 5. Top K Frequent Elements 6. Product of Array Except Self 7. Valid Sudoku 8. Encode and Decode Strings 9. Longest Consecutive Sequence --- 📌 2. Two Pointers (双指针) - 5 题 1. Valid Palindrome 2. Two Sum II Input Array Is Sorted 3. 3Sum 4. Container With Most Water 5. Trapping Rain Water --- 📌 3. Sliding Window (滑动窗口) - 6 题 1. Best Time to Buy And Sell Stock 2. Longest Substring Without Repeating Characters 3. Longest Repeating Character Replacement 4. Permutation In String 5. Minimum Window Substring 6. Sliding Window Maximum --- 📌 4. Stack (栈) - 7 题 1. Valid Parentheses 2. Min Stack 3. Evaluate Reverse Polish Notation 4. Generate Parentheses 5. Daily Temperatures 6. Car Fleet 7. Largest Rectangle In Histogram --- 📌 5. Binary Search (二分查找) - 7 题 1. Binary Search 2. Search a 2D Matrix 3. Koko Eating Bananas 4. Find Minimum In Rotated Sorted Array 5. Search In Rotated Sorted Array 6. Time Based Key-Value Store 7. Median of Two Sorted Arrays --- 📌 6. Linked List (链表) - 11 题 1. Reverse Linked List 2. Merge Two Sorted Lists 3. Reorder List 4. Remove Nth Node From End of List 5. Copy List With Random Pointer 6. Add Two Numbers 7. Linked List Cycle 8. Find The Duplicate Number 9. LRU Cache 10. Merge K Sorted Lists 11. Reverse Nodes In K-Group --- 📌 7. Trees (二叉树) - 15 题 1. Invert Binary Tree 2. Maximum Depth of Binary Tree 3. Diameter of Binary Tree 4. Balanced Binary Tree 5. Same Tree 6. Subtree of Another Tree 7. Lowest Common Ancestor of a BST 8. Binary Tree Level Order Traversal 9. Binary Tree Right Side View 10. Count Good Nodes In Binary Tree 11. Validate Binary Search Tree 12. Kth Smallest Element In a BST 13. Construct Binary Tree From Preorder And Inorder Traversal 14. Binary Tree Maximum Path Sum 15. Serialize And Deserialize Binary Tree --- 📌 8. Tries (前缀树) - 3 题 1. Implement Trie Prefix Tree 2. Design Add And Search Words Data Structure 3. Word Search II --- 📌 9. Heap / Priority Queue (堆与优先队列) - 7 题 1. Kth Largest Element In a Stream 2. Last Stone Weight 3. K Closest Points to Origin 4. Kth Largest Element In An Array 5. Task Scheduler 6. Design Twitter 7. Find Median From Data Stream --- 📌 10. Backtracking (回溯算法) - 9 题 1. Subsets 2. Combination Sum 3. Permutations 4. Subsets II 5. Combination Sum II 6. Word Search 7. Palette Partitioning 8. Letter Combinations of a Phone Number 9. N-Queens --- 📌 11. Graphs (图算法) - 13 题 1. Number of Islands 2. Max Area of Island 3. Clone Graph 4. Walls And Gates 5. Rotting Oranges 6. Pacific Atlantic Water Flow 7. Surrounded Regions 8. Course Schedule 9. Course Schedule II 10. Graph Valid Tree 11. Number of Connected Components In An Undirected Graph 12. Redundant Connection 13. Word Ladder --- 📌 12. Advanced Graphs (进阶图论) - 6 题 1. Reconstruct Itinerary 2. Min Cost to Connect All Points 3. Network Delay Time 4. Swim In Rising Water 5. Alien Dictionary 6. Cheapest Flights Within K Stops --- 📌 13. 1D Dynamic Programming (一维动态规划) - 12 题 1. Climbing Stairs 2. Min Cost Climbing Stairs 3. House Robber 4. House Robber II 5. Longest Palindromic Substring 6. Palindromic Substrings 7. Decode Ways 8. Coin Change 9. Maximum Product Subarray 10. Word Break 11. Longest Increasing Subsequence 12. Partition Equal Subset Sum --- 📌 14. 2D Dynamic Programming (二维动态规划) - 11 题 1. Unique Paths 2. Longest Common Subsequence 3. Best Time to Buy And Sell Stock With Cooldown 4. Coin Change II 5. Target Sum 6. Interleaving String 7. Longest Increasing Path In a Matrix 8. Distinct Subsequences 9. Edit Distance 10. Burst Balloons 11. Regular Expression Matching --- 📌 15. Greedy, Intervals, Math & Bit Manipulation (贪心/区间/数学与位运算) - 29 题 • Greedy: 1. Maximum Subarray 2. Jump Game 3. Jump Game II 4. Gas Station 5. Hand of Straights 6. Merge Triplets to Form Target Triplet 7. Partition Labels 8. Valid Parenthesis String • Intervals: 9. Insert Interval 10. Merge Intervals 11. Non-Overlapping Intervals 12. Meeting Rooms 13. Meeting Rooms II 14. Minimum Interval to Include Each Query • Bit Manipulation: 15. Single Number 16. Number of 1 Bits 17. Counting Bits 18. Reverse Bits 19. Missing Number 20. Sum of Two Integers 21. Reverse Integer • Math & Geometry: 22. Rotate Image 23. Spiral Matrix 24. Set Matrix Zeroes 25. Happy Number 26. Pow(x, n) 27. Multiply Strings 28. Detect Squares
2
22
哈哈哈,自己还没vibe完成,已经有成品了
Tailscale 自己出手,做了个反直觉的东西,Tailcat,一句话概括就是:没有 Tailscale 的 Tailscale。 不用注册账号,不用装 VPN,不用开端口,不用 root,也不改你的路由和 DNS。两台机器,发个短 token 过去,直接就连上了,全程 WireGuard 端到端加密。打得通走直连,打不通自动走 DERP 中继,一点不耽误。 连上之后能干嘛?我给你数数: 1️⃣ 两台电脑互传文件 2️⃣ 把本地端口甩出去 3️⃣ 直接 SSH 进去 4️⃣ 当 SOCKS5 代理 5️⃣ 当出口节点 6️⃣ 浏览器里也能传 Go 写的,全程用户态,官方开源。像 netcat,但走的是 Tailscale 的数据面。 🔗 tailscale.github.io/tailcat/
22
#吐槽 周末想着表现,洗衣服,把粉色衣服👚和白色放一起,完犊子了,今天下午微信上挨骂,已经上升到我家里家教问题,我..…昨天糊涂啊……洗之前忘记这茬了,就记得表现…
1
59
哇,别人已经做了我想做的,我想做的,commit 了10来次,就停了….
写技术文档、梳理业务逻辑时,总少不了流程图、架构图这些“直观表达”。问题是:画图太耗时。 Smart Excalidraw 是一款开源工具,让你用自然语言直接生成专业级、结构清晰的图表,把“画图”变成“描述”。 它内置智能箭头与布局优化,自动避免连线交叉、排版错乱;支持流程图、架构图、时序图、思维导图等 20+ 种图表类型,一次生成就很像样。 GitHub:github.com/liujuntao123/smar… 同时集成 Excalidraw,生成后可继续自由微调样式与细节;数据仅保存在本地浏览器,隐私更安心。 项目还提供在线演示:配置一个 AI API 密钥即可上手。推荐使用 Claude Sonnet 4.5,也支持本地部署运行。
1
1
50
A copilot sells the tool. An autopilot sells the work.
you really NEED to read this if you don’t want your product to be headshot by a tiny Claude feature.
1
12
我的推荐链接my.racknerd.com/aff.php?aff=…,推荐安装debian或者ubuntu,centos stream 千万别选,坑,一会networkmanager service down一下,害我以为啥问题还换了一次ip (7d免费)
Racknerd服务器买了,出海建站学习实践第一步,接下来做几个“锤子”,一边学习一边动手。
55
我试试
🚀💻 AI 一人公司技术栈(2025 年 11 月) 这一个月深刻体会到:独立开发太忙了,不要把时间花费在无谓的事情上 要经常进行断舍离才行!我把能省时间、减少重复劳动的留下来了。 1. 核心生产力 - Cursor:写代码最稳的主力,日常开发基本离不开。(最近发布了 2.0,增加了代理模式,提升了并行能力) - Dify:做 AI 原型或内部工具超快,私有化部署后也不担心安全问题。 - 🎈n8n:帮我把干了大量重复活自动化:AI 早报,任务提醒,数据清洗等。 2. 前端开发 - Next.js + Tailwind CSS:依旧是最丝滑的开发组合。 - Shadcn UI + Lucide Icons:好看、省心,用现成组件不必自己抠 UI。 - 🎈Vercel AI SDK:几行代码接上 AI 聊天,和 Next 配合无敌。 3. 后端开发 - FastAPI:轻量、清晰、开发速度快。 - NestJS:结构化强,大项目稳住不抖。 - Alembic / Prisma:数据库迁移必备。 4. 数据库 - PostgreSQL:复杂业务的优选。 - MongoDB:节奏快、结构灵活的小项目特别合适。 - Supabase:认证 + 存储 + 实时能力全带,适合快速交付。 5. 部署 & 运维 - Docker + Compose:环境一致的基本功。 - GitLab CI / GitHub Actions:提交即部署,心态轻松很多。 - Cloudflare:安全、速度、缓存,一步到位。 - 🎈DigitalOcean:部署简单稳定,价格对独立开发者很友好。 6. 运营 & 工具:一人也是一个团队 - Figma:原型 + UI 全部自己搞定。 - Notion:文档、规划、素材统一管理。 - Stripe:海外支付接入最省心的方案。 最近越做越觉得: 一人公司不是在和别人拼速度,而是在和自己的时间赛跑。 能自动化的自动化,能复用的复用!警惕沉默带来的成本~ 内容来自小红书账号:xhslink.com/m/5e9laxrKPVD
1
1
272
Racknerd服务器买了,出海建站学习实践第一步,接下来做几个“锤子”,一边学习一边动手。
1
86
照着能做一个么?
想要了解 Cursor、Cline 这些 AI 编程工具内部的编码 Agent,发现网上资料很少,而且原理和实现细节没有提及。 恰巧,在 GitHub 上看到了 how-to-build-a-coding-agent 这个开源教程项目,手把手教我们从零构建一个功能完整的 AI 编程助手。 通过 6 个循序渐进的实战示例,从最基础的聊天机器人开始,逐步添加文件读取、目录浏览、命令执行、代码编辑和代码搜索等功能。 GitHub:github.com/ghuntley/how-to-b… 每个示例代码都开源,并包含详细实现步骤说明,同时配有架构图和流程图,帮助我们理解 Agent 的工作原理。 想要了解主流 AI 编程工具底层编码 Agent 工作原理的开发者,可以参考学习一下。
5
努力翻译实践成自己的公众号文章吧
25
还记得你何时加入 X 吗?我知道!#我的X周年纪念日
2
2.65英里打卡
10