Algorithm

Algorithm

[BOJ 17135] 캐슬 디펜스

격자판의 상태가 주어졌을 때, 궁수의 공격으로 제거할 수 있는 적의 최대 수를 계산해보자.

---
Algorithm

[Leetcode] Binary Tree Maximum Path Sum

Given a non-empty binary tree, find the maximum path sum.

---
Algorithm

[Leetcode] Construct Binary Tree from Preorder and Inorder Traversal

Given preorder and inorder traversal of a tree, construct the binary tree.

---
Algorithm

[Leetcode] Add Two Numbers

Add the two numbers and return it as a linked list.