09 2019 档案

[PAT]1043 Is It a Binary Search Tree (25 分)
摘要:一、题意 A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only n 阅读全文

posted @ 2019-09-09 21:58 刘好念 阅读(8) 评论(0) 推荐(0) 编辑

[leetcode] 5182. Maximum Subarray Sum with One Deletion
摘要:一、题意 Given an array of integers, return the maximum sum for a non-empty subarray (contiguous elements) with at most one element deletion. In other wor 阅读全文

posted @ 2019-09-09 11:14 刘好念 阅读(2) 评论(0) 推荐(0) 编辑

[leetcode]5175. Can Make Palindrome from Substring
摘要:一、题意 Given a string s, we make queries on substrings of s. For each query queries[i] = [left, right, k], we may rearrange the substring s[left], ..., 阅读全文

posted @ 2019-09-01 17:52 刘好念 阅读(2) 评论(0) 推荐(0) 编辑

[PAT]1064 Complete 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 node contains only n 阅读全文

posted @ 2019-09-01 09:47 刘好念 阅读(3) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示