Day: September 5, 2018

Leetcode 76 Minimum Window Substring 最小窗口子串

Leetcode 76 Minimum Window Substring 最小窗口子串

Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = “ADOBECODEBANC”, T = “ABC” Output: “BANC” Note: If there is no such window in S that 

[DatabaseSystem] Database Storage 1

[DatabaseSystem] Database Storage 1

Today we would focus on how data organized in disk. DBMS would assume that the primary storage is lied on the non-volatile storage. Storage Hierarchy Overview Typical Storage Layer: cpu register cpu cache DRAM (Non-volitile memory) SSD HDD Network Storage Usually data is moved from 

【纪行】有些尴尬

【纪行】有些尴尬

interview session的开场白是一段对雅虎大公司病的十分钟批判,听得台下的我如坐针毡。虽然说我很多时候也不看好我司,但是大庭广众下被其他人指着骂也多半是令人不快的,而且还是被人当段子来衬托自己的startup。