297. Serialize and Deserialize Binary Tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ Serialize and Deserialize Binary Tree - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Language: C++ space 와 time 은 O(N) /** * Definition for a binary tree node. * struc..
236. Lowest Common Ancestor of a Binary Tree https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ Lowest Common Ancestor of a Binary Tree - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Language: C++ /** * Definition for a binary tree node. * struct TreeNode { *..
117. Populating Next Right Pointers in Each Node II https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ Populating Next Right Pointers in Each Node II - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Language: C++ /* // Definition for a Node. class Node {..
116. Populating Next Right Pointers in Each Node language: C++ /* // Definition for a Node. class Node { public: int val; Node* left; Node* right; Node* next; Node() : val(0), left(NULL), right(NULL), next(NULL) {} Node(int _val) : val(_val), left(NULL), right(NULL), next(NULL) {} Node(int _val, Node* _left, Node* _right, Node* _next) : val(_val), left(_left), right(_right), next(_next) {} }; */..
105. Construct Binary Tree from Preorder and Inorder Traversal https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ Construct Binary Tree from Preorder and Inorder Traversal - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com language: C++ class So..
106. Construct Binary Tree from Inorder and Postorder Traversal Medium https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/ Construct Binary Tree from Inorder and Postorder Traversal - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com language: C+..
250. Count Univalue Subtrees https://leetcode.com/problems/count-univalue-subtrees/ Account Login - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com language: C++ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(..
작년 휴학했을 때 회사에서 퇴사 전에 7문제 정도 풀었었는데 내년에 졸업이고 더 이상은 지체할 수 없다는 생각에 종강 이후 동생과 대화를 통해 다시 풀기로 결정했고 프리미엄을 결제했다. (작년 여름쯤에도 학교친구들과 같이 백준 문제를 풀었었는데 개강하니 시들해졌고 멀어졌었다) 매일 하루에 한 문제씩 풀고 카톡으로 푼 것 보여주는 식으로 진행할 것 같다. 마음 같아서는 하루에 세 문제 정도 풀고 싶은데 오늘 풀어보니까 한 문제도 버겁고 계절학기에다 다음 학기에 졸업프로젝트 해야되는 것까지 미리 공부해야해서 많이 빠듯하다;