kaihao
Algorithms Categories Archives About me
Algorithms Categories Archives About me

Kaihao(Chris) Li

I am the Bone of my Sword!

Stony Brook, New York, USA FOLLOW
68 posts
20 tags

2018

Google High Frequency Summary

2018-10-16

Tree - Lowest Common Ancestor

2018-10-15
Algorithms
tree

Sampling & Randomization

2018-10-14
Algorithms

String Advanced

2018-10-11
Algorithms
sliding window, string

Binary Search Advanced

2018-10-10
Algorithms
binary search

Greedy Schedule

2018-10-09
Algorithms
greedy

Hash Table

2018-10-08
Algorithms
TODO, hash table

Depth First Search

2018-10-07
Algorithms
dfs

Heap

2018-10-06
Algorithms
heap

String Basic

2018-10-05
Algorithms
string

Stack

2018-10-04
Algorithms
stack

Sort

2018-10-02
Algorithms
array
« Prev12

recent

  • System Design

    System Design - News Feed

    2018-12-25

  • Algorithms

    BFS Matrix

    2018-12-03

  • Algorithms

    BFS

    2018-12-02

  • Algorithms

    Graph Cycle

    2018-12-01

  • Algorithms

    DP - Sequence Adjacent Element

    2018-11-27

categories

  • Algorithms57
  • Big Data2
  • Design1
  • Full Stack3
  • OOD1
  • System Design2

archives

  • December 20184
  • November 201813
  • October 201824
  • September 20187
  • August 20187
  • May 20186
  • April 20187

tags

  • TODO2
  • array1
  • bfs3
  • binary search2
  • dfs4
  • dp9
  • graph5
  • greedy1
  • hash table2
  • heap2
  • linked list4
  • matrix1
  • queue1
  • recursion3
  • sliding window1
  • sort1
  • stack3
  • string7
  • topic9
  • tree11

tag cloud

TODO array bfs binary search dfs dp graph greedy hash table heap linked list matrix queue recursion sliding window sort stack string topic tree

links

  • LeetCode
© 2018 Kaihao Li , Visitors :
Posts
System Design - News Feed

4S Analysis, Take “Design a Twitter” for example! 1S - Scenario1 Enumerate Features Register, Login User Profile Display, Edit Upload Image, Video Sea

BFS Matrix

490. The Maze Directions BFS123456789101112131415161718192021class Solution(object): def hasPath(self, maze, start, destination): m, n = len(maze), le

BFS

Best First Search Init state expansion/generation rule termination 301. Remove Invalid Parentheses BFS - level order traversal remove the minimum numb

Graph Cycle

Detect the CycleFind if a cycle exits in a graph 261. Graph Valid Tree Undirected Graph: Union Find, DFS, BFS Solution1. Union Find graph is represent

DP - Sequence Adjacent Element

256. Paint House1234567891011121314class Solution(object): def minCost(self, costs): if not costs: return 0 n = len(costs) dp = [[0] * 3 for _ in rang

Pages
tags
categories

Algorithms DFS BFS Binary Search Dynamic Programming Data Structure Linked List Tree Graph Big Data Spark Kafka Cassandra Full Stack TODOMachine Learn

Data Structure and Algorithms

knowing about the basic operations provided by the data structure, which operations are efficient, which are not? knowing about for what use case we c

Kaihao Li

kaihaohust#gmail.com (replace # with @ please) | (+1)631-428-7454 EDUCATION Jan. 2017 - Dec. 2018Stony Brook University, StonyBrook, NYM.S. in Compute

Categories
System DesignSystem-Design
AlgorithmsAlgorithms
DesignDesign
OODOOD
Big DataBig-Data
Tags
bfsbfs
matrixmatrix
graphgraph
dpdp
stackstack