Author: huadonghu

[LeetCode] 1273. Delete Tree Nodes

Solution Do dfs on tree and check on backtracking if sum from children to current node equals to 0, if…

Kth shortest path problem

Kth shortest path problem Description Given a directed graph of N nodes (1, 2 … N) and M edges, find…

Never, Never and Never to use “rm -rf” command

What happened with my old posts Yesterday(March 08, 2020) I found my blog server’s disk was coming to be used…