parent
a1a9982c4b
commit
aacd1b0e7a
@ -1,7 +1,7 @@
|
||||
package class43;
|
||||
|
||||
// leetcode 464题
|
||||
public class Code03_CanIWin {
|
||||
public class Code01_CanIWin {
|
||||
|
||||
// 这个是暴力尝试,思路是正确的,超时而已
|
||||
public static boolean canIWin1(int choose, int total) {
|
@ -1,7 +1,7 @@
|
||||
package class44;
|
||||
|
||||
// 测试链接: https://leetcode.com/problems/last-substring-in-lexicographical-order/
|
||||
public class Code02_LastSubstringInLexicographicalOrder {
|
||||
public class Code01_LastSubstringInLexicographicalOrder {
|
||||
|
||||
public static String lastSubstring(String s) {
|
||||
if (s == null || s.length() == 0) {
|
@ -1,6 +1,6 @@
|
||||
package class44;
|
||||
|
||||
public class Code03_InsertS2MakeMostAlphabeticalOrder {
|
||||
public class Code02_InsertS2MakeMostAlphabeticalOrder {
|
||||
|
||||
// 暴力方法
|
||||
public static String right(String s1, String s2) {
|
@ -1,7 +1,7 @@
|
||||
package class44;
|
||||
|
||||
// 测试链接: https://leetcode.com/problems/create-maximum-number/
|
||||
public class Code01_CreateMaximumNumber {
|
||||
public class Code03_CreateMaximumNumber {
|
||||
|
||||
public static int[] maxNumber1(int[] nums1, int[] nums2, int k) {
|
||||
int len1 = nums1.length;
|
@ -1,6 +1,6 @@
|
||||
package class45;
|
||||
package class46;
|
||||
|
||||
public class Code03_StrangePrinter {
|
||||
public class Code01_StrangePrinter {
|
||||
|
||||
public static int strangePrinter(String s) {
|
||||
if (s == null || s.length() == 0) {
|
Loading…
Reference in new issue