摘要:
简介 Twitter 早期用 MySQL 存储数据,随着用户的增长,单一的 MySQL 实例没法承受海量的数据,后来团队就研究如何产生完美的自增ID,以满足两个基本的要求: 每秒能生成几十万条 ID 用于标识不同的 记录; 这些 ID 应该可以有个大致的顺序,也就是说发布时间相近的两条记录,它们的 阅读全文
摘要:
难度: 中等 题目 Given a string, find the length of the longest substring without repeating characters. 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: "abcabcbb" 阅读全文
摘要:
难度: 中等 题目 You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of their no 阅读全文
摘要:
难度: 简单 题目 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou 阅读全文