摘要: Count Primes Count the number of prime numbers less than a non-negative number, *n*. Example: Input: 10 Output: 4 Explanation: There are 4 prime numbe 阅读全文
posted @ 2020-07-15 10:10 十三w~w 阅读(110) 评论(0) 推荐(0)
摘要: Isomorphic Strings Given two strings *s* and *t*, determine if they are isomorphic. Two strings are isomorphic if the characters in *s* can be replace 阅读全文
posted @ 2020-07-15 09:38 十三w~w 阅读(96) 评论(0) 推荐(0)
摘要: Course Schedule There are a total of numCourses courses you have to take, labeled from 0 to numCourses-1. Some courses may have prerequisites, for exa 阅读全文
posted @ 2020-07-15 09:22 十三w~w 阅读(137) 评论(0) 推荐(0)
摘要: Remove Linked List Elements Remove all elements from a linked list of integers that have value *val*. Example: Input: 1->2->6->3->4->5->6, val = 6 Out 阅读全文
posted @ 2020-07-15 08:45 十三w~w 阅读(88) 评论(0) 推荐(0)