摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805349851185152 In graph theory, an Eulerian path is a path in a graph which visits ever 阅读全文
摘要:
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结束 ... 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805507225665536 Given a pair of positive integers, for example, 6 and 110, can this equa 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805345401028608 For a student taking the online course "Data Structures" on China Univer 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805407749357568 A Binary Search Tree (BST) is recursively defined as a binary tree which 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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. 阅读全文