上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 76 下一页
摘要: In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking ascend 阅读全文
posted @ 2020-07-15 13:42 Schwifty 阅读(178) 评论(0) 推荐(0)
摘要: Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make 阅读全文
posted @ 2020-07-15 11:07 Schwifty 阅读(120) 评论(0) 推荐(0)
摘要: https://juejin.im/post/5b95da8a5188255c775d8124#heading-4 1. 冒泡排序Bubble Sort 每次冒出一个最大的到最后一位 public void bbsort(int[] arr){ int le = arr.length; for(in 阅读全文
posted @ 2020-07-15 03:21 Schwifty 阅读(212) 评论(0) 推荐(0)
摘要: You are given an undirected weighted graph of n nodes (0-indexed), represented by an edge list where edges[i] = [a, b] is an undirected edge connectin 阅读全文
posted @ 2020-07-14 13:19 Schwifty 阅读(271) 评论(0) 推荐(0)
摘要: 每一个query写完后要在后面加分号 USE DATABASE(使用这个db) SHOW TABLES(把这个db中所有的表展示出来) SHOW COLUMNS FROM TABLE1(把这个table1中的所有列展示出来) select distinct column1 from table1 只 阅读全文
posted @ 2020-07-14 10:48 Schwifty 阅读(126) 评论(0) 推荐(0)
摘要: Given a binary string s (a string consisting only of '0' and '1's). Return the number of substrings with all characters 1's. Since the answer may be t 阅读全文
posted @ 2020-07-13 06:41 Schwifty 阅读(261) 评论(0) 推荐(0)
摘要: Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. Example 1: Input: nums 阅读全文
posted @ 2020-07-13 05:36 Schwifty 阅读(294) 评论(0) 推荐(0)
摘要: Given the array nums consisting of n positive integers. You computed the sum of all non-empty continous subarrays from the array and then sort them in 阅读全文
posted @ 2020-07-12 09:27 Schwifty 阅读(256) 评论(0) 推荐(0)
摘要: Given a date string in the form Day Month Year, where: Day is in the set {"1st", "2nd", "3rd", "4th", ..., "30th", "31st"}. Month is in the set {"Jan" 阅读全文
posted @ 2020-07-12 08:13 Schwifty 阅读(222) 评论(0) 推荐(0)
摘要: You are given a doubly linked list which in addition to the next and previous pointers, it could have a child pointer, which may or may not point to a 阅读全文
posted @ 2020-07-11 03:35 Schwifty 阅读(166) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 76 下一页