魔法沉思录
  • 首页
  • 归档
  • 关于
  • 首页
  • 归档
  • 关于
  • 1123 Is It a Complete AVL Tree (30分)

    An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ ...
     2020-03-12  
    • PAT 
     
    • pat 
    • | algorithm 
    • | tree 
    阅读全文 
  • Avl Tree

    对于二叉搜索树,如果预先输入一堆排好序的序列,其会退化成单链表。为了解决这个问题,规定一个平衡的附加条件:任何节点的深度都不的过深。但是标准的二叉平衡树实现起来复杂性过高,因此介绍一种较为经典的平衡术—avl(adelson-velskii and ...
     2020-03-12  
    • PAT 
     
    • tree 
    • | datastructure 
    阅读全文 
  • 1115 Counting Nodes in a BST (30分)

    A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a...
     2020-03-12  
    • PAT 
     
    • pat 
    • | algorithm 
    • | tree 
    阅读全文 
  • 1099 Build A Binary Search Tree (30分)

    A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a ...
     2020-03-12  
    • PAT 
     
    • pat 
    • | algorithm 
    • | tree 
    阅读全文 
  • 1045 Favorite Color Stripe (30分)

    Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorit...
     2020-03-11  
    • PAT 
     
    • pat 
    • | algorithm 
    • | dynamic 
    • | dynamic-programming 
    阅读全文 
  • 1030 Travel Plan (30分)

    A traveler’s map gives the distances between cities along the highways, together with the cost of each highway. Now you are s...
     2020-03-10  
    • PAT 
     
    • pat 
    • | algorithm 
    • | graph 
    阅读全文 
  • 1040 Longest Symmetric String (25分)

    Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given Is PAT&TAP ...
     2020-03-10  
    • PAT 
     
    • pat 
    • | algorithm 
    阅读全文 
  • LaTex Markdown Syntax

    see https://www.caam.rice.edu/~heinken/latex/symbols.pdf
     2020-03-10  
    • PAT 
    阅读全文 
  • 1090 Highest Price in Supply Chain (25分)

    A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)– everyone involved in moving a product f...
     2020-03-10  
    • PAT 
     
    • pat 
    • | algorithm 
    • | graph 
    阅读全文 
  • 1021 Deepest Root (25分)

    A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you...
     2020-03-08  
    • PAT 
     
    • pat 
    • | algorithm 
    阅读全文 
上一页
© 2020 - 2023  codeflysafe
访问人数   总访问量 
由 Hexo 驱动 | 主题 Keep v3.4.5