演算法與資料結構
search
Ctrlk
  • 簡介
  • 前言
    • 事前準備
    • 資料結構場景
    • 複雜度分析chevron-right
  • 分類題型
    • Array 陣列chevron-right
    • Backtrack 回溯法chevron-right
    • Binary Search 二分搜索chevron-right
    • Dynamic Programming 動態規劃chevron-right
    • Hash Table/Set 雜湊表chevron-right
    • Heap 堆chevron-right
    • Linked List 鏈結串列chevron-right
    • Stack 棧chevron-right
    • String 字串chevron-right
    • Tree 樹chevron-right
      • Breadth-first search 廣度優先搜索chevron-right
      • Preorder 前序遍歷chevron-right
      • Inorder 中序遍歷chevron-right
      • Postorder 後序遍歷chevron-right
      • BSTchevron-right
      • Serialization & Deserializationchevron-right
        • 606. Construct String from Binary Tree
        • 536. Construct Binary Tree from String
        • 297. Serialize and Deserialize Binary Tree
        • 428. Serialize and Deserialize N-ary Tree
      • Graph 圖chevron-right
      • 100. Same Treechevron-right
      • 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
      • 226. Invert Binary Tree
      • 104. Maximum Depth of Binary Tree
      • 559. Maximum Depth of N-ary Tree
      • 102. Binary Tree Level Order Traversal
      • 261. Graph Valid Tree
      • 250. Count Univalue Subtrees
      • 222. Count Complete Tree Nodes
      • 112. Path Sum
      • 113. Path Sum II
      • 437. Path Sum III
    • Trie 字典樹chevron-right
    • Two Pointers 雙指針chevron-right
    • Sliding Window 滑動窗口chevron-right
    • Bit Manipulation 位元運算chevron-right
    • Math 數學chevron-right
    • Other 其他chevron-right
    • Object Oriented Design 物件導向設計chevron-right
  • 經典題目
    • Best Time to Buy and Sell Stock 股票買賣問題chevron-right
    • Palindrome 回文chevron-right
    • Time Intervals 時間區間問題chevron-right
    • Calculator 計算機問題chevron-right
    • Add One 加一問題chevron-right
    • Clone Graph 複製圖形chevron-right
    • Cache 快取問題chevron-right
    • n Sum 問題chevron-right
    • Lowest Common Ancestor of a Binary Tree 最近共同祖先問題
    • The Maze 球滾迷宮問題chevron-right
    • Find Median 尋找中位數chevron-right
    • Course 課程問題chevron-right
    • Coin Change 零錢問題chevron-right
    • Binary Indexed Tree 樹狀陣列或二元索引樹chevron-right
    • Longest Increasing Subsequence 最長遞增子序列的問題chevron-right
    • Robot Bounded In Circle 掃地機器人
    • Containing Water 裝水問題chevron-right
    • Word Ladder 文字梯問題chevron-right
    • Egg Drop 高樓扔雞蛋
    • Custom sorting 排序技巧chevron-right
    • Word Break 字串組合問題chevron-right
  • 常見演算法
    • Sorting 排序chevron-right
    • Shuffle Array 打亂陣列內的元素
    • 池塘抽樣chevron-right
  • Python 技巧
    • 陣列複製
    • 矩陣操作chevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 分類題型chevron-right
  2. Tree 樹

Serialization & Deserialization

606. Construct String from Binary Treechevron-right536. Construct Binary Tree from Stringchevron-right297. Serialize and Deserialize Binary Treechevron-right428. Serialize and Deserialize N-ary Treechevron-right
Previous99. Recover Binary Search Treechevron-leftNext606. Construct String from Binary Treechevron-right

Last updated 3 years ago