Idiot-maker

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2019年10月31日

摘要: https://www.tenouk.com/ModuleBB.html MODULE BB DYNAMIC LINK LIBRARY - DLL Part 1: STORY What do we have in this Module? Dynamic-Link Library and C Run 阅读全文
posted @ 2019-10-31 13:27 NickyYe 阅读(431) 评论(0) 推荐(0) 编辑

2019年5月21日

摘要: http://darktea.github.io/notes/2013/12/08/Unique-ID 本文主要介绍在一个分布式系统中, 怎么样生成全局唯一的 ID 一, 问题描述 在分布式系统存在多个 Shard 的场景中, 同时在各个 Shard 插入数据时, 怎么给这些数据生成全局的 uniq 阅读全文
posted @ 2019-05-21 14:57 NickyYe 阅读(575) 评论(0) 推荐(0) 编辑

2018年12月28日

摘要: https://leetcode.com/problems/isomorphic-strings/ Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the chara 阅读全文
posted @ 2018-12-28 23:24 NickyYe 阅读(120) 评论(0) 推荐(0) 编辑

2018年12月25日

摘要: https://leetcode.com/problems/bitwise-and-of-numbers-range/ 解题思路: 先硬来,超时。 看大神的解法,结论是这道题其实就是要找m和n的bit common prefix。而不需要从m一直算到n。 The hardest part of th 阅读全文
posted @ 2018-12-25 22:39 NickyYe 阅读(211) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/rotate-array/ Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Example 2: N 阅读全文
posted @ 2018-12-25 00:36 NickyYe 阅读(118) 评论(0) 推荐(0) 编辑