Day: September 6, 2018

Leetcode 543 Diameter of Binary Tree

Leetcode 543 Diameter of Binary Tree

Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path between any two nodes in a tree. This path may or may not pass through the 

[StorageSystem] SSD

[StorageSystem] SSD

Write Amplification in SSD We need to have a map betwwen LBA to PBA, logical block address to physical block address. In DRAM, overwrite/ update would be relatively easy, find the address, and then replace the old value with the new value directly. But it