上一页 1 ··· 57 58 59 60 61
摘要: Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters 阅读全文
posted @ 2019-10-10 06:08 CNoodle 阅读(211) 评论(0) 推荐(0) 编辑
摘要: You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered fro 阅读全文
posted @ 2019-10-10 02:17 CNoodle 阅读(704) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must write an algorithm that runs in O(n 阅读全文
posted @ 2019-10-09 11:11 CNoodle 阅读(472) 评论(0) 推荐(0) 编辑
摘要: Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val == val, and return the new head. Example 阅读全文
posted @ 2019-10-09 08:59 CNoodle 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Given an integer array nums, return true if there exists a triple of indices (i, j, k) such that i < j < k and nums[i] < nums[j] < nums[k]. If no such 阅读全文
posted @ 2019-10-09 08:35 CNoodle 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed. Sin 阅读全文
posted @ 2019-10-09 08:07 CNoodle 阅读(426) 评论(0) 推荐(0) 编辑
摘要: Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-23 阅读全文
posted @ 2019-10-09 00:52 CNoodle 阅读(449) 评论(0) 推荐(0) 编辑
摘要: Design a data structure that accepts a stream of integers and checks if it has a pair of integers that sum up to a particular value. Implement the Two 阅读全文
posted @ 2019-10-09 00:25 CNoodle 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific targe 阅读全文
posted @ 2019-10-08 10:33 CNoodle 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each inp 阅读全文
posted @ 2019-10-08 10:15 CNoodle 阅读(720) 评论(0) 推荐(0) 编辑
上一页 1 ··· 57 58 59 60 61