上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 87 下一页
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805502658068480 To evaluate the performance of our first year CS majored students, we co 阅读全文
posted @ 2018-12-13 16:07 丧心病狂工科女 阅读(324) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/contest/67836#problem/I Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square? Input Th 阅读全文
posted @ 2018-12-13 13:41 丧心病狂工科女 阅读(218) 评论(0) 推荐(0) 编辑
摘要: http://lx.lanqiao.cn/problemset.page?code=BEGIN-&userid=246004 BEGIN-1 A+B问题 代码: #include <bits/stdc++.h> using namespace std; int A, B; int main() { 阅读全文
posted @ 2018-12-12 20:31 丧心病狂工科女 阅读(231) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/ Given an array where elements are sorted in ascending order, convert it to a 阅读全文
posted @ 2018-12-12 20:04 丧心病狂工科女 阅读(147) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/increasing-order-search-tree/ Given a tree, rearrange the tree in in-order so that the leftmost node in the tree is now 阅读全文
posted @ 2018-12-10 22:50 丧心病狂工科女 阅读(217) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/power-of-three/ Given an integer, write a function to determine if it is a power of three. Example 1: Example 2: Example 阅读全文
posted @ 2018-12-10 22:30 丧心病狂工科女 阅读(108) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/bulb-switcher/ There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every secon 阅读全文
posted @ 2018-12-10 20:21 丧心病狂工科女 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/binary-tree-inorder-traversal/ Given a binary tree, return the inorder traversal of its nodes' values. Example: 代码: 二叉树 阅读全文
posted @ 2018-12-10 19:51 丧心病狂工科女 阅读(119) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/symmetric-tree/ Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For examp 阅读全文
posted @ 2018-12-10 16:13 丧心病狂工科女 阅读(123) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/search-in-a-binary-search-tree/ Given the root node of a binary search tree (BST) and a value. You need to find the node 阅读全文
posted @ 2018-12-10 15:19 丧心病狂工科女 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 87 下一页