上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: vector begin()返回指向第一个元素的迭代器 end()返回指向最后一个元素的迭代器 rbegin()返回指向最后一个元素的迭代器 rend()返回指向第一个元素的迭代器 size()返回容器的元素的个数 max_size()返回容器的最大的元素的个数 resize()重新调整容器的容量, 阅读全文
posted @ 2021-03-06 20:55 coderJ_ONE 阅读(62) 评论(0) 推荐(0) 编辑
摘要: Given a string s containing only digits, return all possible valid IP addresses that can be obtained from s. You can return them in any order. A valid 阅读全文
posted @ 2021-03-04 13:45 coderJ_ONE 阅读(40) 评论(0) 推荐(0) 编辑
摘要: Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Retu 阅读全文
posted @ 2021-03-04 13:33 coderJ_ONE 阅读(27) 评论(0) 推荐(0) 编辑
摘要: Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: Each of the digits 1-9 阅读全文
posted @ 2021-03-04 13:23 coderJ_ONE 阅读(34) 评论(0) 推荐(0) 编辑
摘要: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3 Output: ["((()))","(() 阅读全文
posted @ 2021-03-04 12:54 coderJ_ONE 阅读(37) 评论(0) 推荐(0) 编辑
摘要: The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other. Given an integer n, return al 阅读全文
posted @ 2021-03-02 21:11 coderJ_ONE 阅读(31) 评论(0) 推荐(0) 编辑
摘要: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any 阅读全文
posted @ 2021-03-02 19:04 coderJ_ONE 阅读(35) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The a 阅读全文
posted @ 2021-02-27 17:35 coderJ_ONE 阅读(49) 评论(0) 推荐(0) 编辑
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes conta 阅读全文
posted @ 2021-02-27 17:30 coderJ_ONE 阅读(55) 评论(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 @ 2021-02-27 17:15 coderJ_ONE 阅读(47) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页