Yosgi
Yosgi
Avatar
😀
3d ai agents ai engineering ai systems algorithms algorithms array binary search tree binary tree css design pattern digital twin digital twins engineering frontend full-stack investing investing javascript javascript leetcode life linked list mcp mongodb network node.js performance optimization product engineering projects queue react stack string vue web performance
  • 一套适用于海量即时数据的同步范式:中间层隔离高频数据源,React 只消费可视窗口的线性投影。
    Digital Twin Created Sat, 31 Jan 2026 23:42:31 +1300
  • 如何把 6,000 个 Token 压缩到 500 个
    AI Engineering Created Thu, 29 Jan 2026 17:45:36 +1300
  • 2025 年度投资回顾与反思:Bet the Dip
    Investing Created Wed, 24 Dec 2025 22:10:36 +1300
  • 关键词 nodejs vue express mongodb
    Full-stack Created Mon, 27 Oct 2025 14:17:43 +1300
  • 我的判断是:Circle不是没有价值,但当时约400亿美元的估值已经很充分地反映了未来增长预期。这个价格更适合看作对未来三到五年业务扩张的提前定价,而不是对当前盈利能力的定价。
    Investing Created Sun, 29 Jun 2025 00:00:00 +1200
  • 第一时间想的是构造二叉树,然后利用每层对称的关系 ,求出父节点 var pathInZigZagTree = function(label) { let stack = [] for(let i = 1 ; i <= label ; i ++) { let level = Math.floor(Math.log(i) / Math.log(2)) if (!stack[level]) { …
    Algorithms Created Thu, 29 Jul 2021 00:00:00 +1200
  • 拿到没想到什么好方法,先暴力解 var isCovered = function(ranges, left, right) { for(let i = left ; i <= right ; i ++) { let include = false for(let index = 0 ; index < ranges.length ; index ++) { let [start,end] = …
    Algorithms Created Fri, 23 Jul 2021 00:00:00 +1200
  • 考虑到头部也可能产生反转,所以需要一个虚拟头。 在遍历的过程中记录反转后的尾节点和之前的节点。 最后进行节点的链接处理。 var reverseBetween = function(head, m, n) { let noob = new ListNode(0) noob.next = head let cur = noob let index = 0 let A,B while (index < …
    Algorithms Created Fri, 23 Jul 2021 00:00:00 +1200
  • 拿到题目的想法是使用双指针指向新旧节点,再加上一个 map 用来映射旧节点和新节点。 递归 var listMap = new Map() var copyRandomList = function(head) { if(head === null) return head if (listMap.get(head)) { return listMap.get(head) } let …
    Algorithms Created Thu, 22 Jul 2021 00:00:00 +1200
  • 用时:15min 利用并查集模板即可 var findRedundantConnection = function(edges) { var n = edges.length var fa = new Array(n + 1) var find = function (x) { if (x != fa[x]) { fa[x] = find(fa[x]) } return fa[x] } …
    Algorithms Created Wed, 07 Jul 2021 00:00:00 +1200