上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 87 下一页
摘要: import java.util.*; import java.math.*; public class Main{ public static void main(String args[]){ Scanner cin = new Scanner(System.in); BigInteger a, b; //以文件EOF结束 ... 阅读全文
posted @ 2019-02-03 20:47 丧心病狂工科女 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805507225665536 Given a pair of positive integers, for example, 6 and 110, can this equa 阅读全文
posted @ 2019-02-03 20:40 丧心病狂工科女 阅读(257) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805345401028608 For a student taking the online course "Data Structures" on China Univer 阅读全文
posted @ 2019-02-01 13:26 丧心病狂工科女 阅读(502) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805407749357568 A Binary Search Tree (BST) is recursively defined as a binary tree which 阅读全文
posted @ 2019-02-01 12:37 丧心病狂工科女 阅读(297) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/reorganize-string/ Given a string S, check if the letters can be rearranged so that two characters that are adjacent to 阅读全文
posted @ 2019-01-31 09:50 丧心病狂工科女 阅读(164) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/minimum-index-sum-of-two-lists/ Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list 阅读全文
posted @ 2019-01-30 23:57 丧心病狂工科女 阅读(116) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/top-k-frequent-words/ Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted 阅读全文
posted @ 2019-01-30 23:02 丧心病狂工科女 阅读(196) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/ Given a n x n matrix where each of the rows and columns are sorted in ascending 阅读全文
posted @ 2019-01-30 20:58 丧心病狂工科女 阅读(156) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/first-unique-character-in-a-string/ Given a string, find the first non-repeating character in it and return it's index. 阅读全文
posted @ 2019-01-30 20:35 丧心病狂工科女 阅读(90) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sort-characters-by-frequency/ Given a string, sort it in decreasing order based on the frequency of characters. Example 阅读全文
posted @ 2019-01-30 20:31 丧心病狂工科女 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 87 下一页