上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 87 下一页
摘要: Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitt 阅读全文
posted @ 2019-04-11 19:28 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sort-array-by-parity/ Given an array A of non-negative integers, return an array consisting of all the even elements of  阅读全文
posted @ 2019-04-10 21:36 丧心病狂工科女 阅读(123) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/ Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elemen 阅读全文
posted @ 2019-04-10 21:32 丧心病狂工科女 阅读(116) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/valid-number/ Validate if a given string can be interpreted as a decimal number. Some examples:"0" => true" 0.1 " => tru 阅读全文
posted @ 2019-04-10 21:19 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sudoku-solver/ Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all o 阅读全文
posted @ 2019-04-10 17:56 丧心病狂工科女 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/reverse-nodes-in-k-group/ Given a linked list, reverse the nodes of a linked list k at a time and return its modified li 阅读全文
posted @ 2019-04-10 17:28 丧心病狂工科女 阅读(119) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3264 Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farm 阅读全文
posted @ 2019-04-10 16:35 丧心病狂工科女 阅读(153) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3974 Problem Description There is a company that has N employees(numbered from 1 to N),every employee in the 阅读全文
posted @ 2019-04-10 12:01 丧心病狂工科女 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1136 A #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; int N, K; struct Node { int L; int R; }n 阅读全文
posted @ 2019-04-10 08:46 丧心病狂工科女 阅读(190) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest-valid-parentheses/ Given a string containing just the characters '(' and ')', find the length of the longest val 阅读全文
posted @ 2019-04-09 21:21 丧心病狂工科女 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 87 下一页