原题链接在这里:https://leetcode.com/problems/asteroid-collision/ 题目: We are given an array asteroids of integers representing asteroids in a row. For each as ...
分类:
其他好文 时间:
2020-01-17 13:13:01
阅读次数:
61
题目如下: You have a keyboard layout as shown above in the XY plane, where each English uppercase letter is located at some coordinate, for example, the l ...
分类:
其他好文 时间:
2020-01-17 11:45:26
阅读次数:
67
arr = ['a','b','c'] arr.append('d'); print(arr) for each in arr: print(each) ...
分类:
编程语言 时间:
2020-01-17 11:30:22
阅读次数:
49
原题链接在这里:https://leetcode.com/problems/campus-bikes-ii/ 题目: On a campus represented as a 2D grid, there are N workers and M bikes, with N <= M. Each wo ...
分类:
其他好文 时间:
2020-01-17 09:23:42
阅读次数:
104
原题链接在这里:https://leetcode.com/problems/24-game/ 题目: You have 4 cards each containing a number from 1 to 9. You need to judge whether they could operate ...
分类:
其他好文 时间:
2020-01-16 14:51:19
阅读次数:
97
【题目】题目链接 Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number ...
分类:
其他好文 时间:
2020-01-16 14:47:51
阅读次数:
57
A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents ...
分类:
其他好文 时间:
2020-01-16 14:44:07
阅读次数:
73
原题链接在这里:https://leetcode.com/problems/campus-bikes/ 题目: On a campus represented as a 2D grid, there are N workers and M bikes, with N <= M. Each worke ...
分类:
其他好文 时间:
2020-01-16 14:11:58
阅读次数:
74
Stall Reservations Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B ...
分类:
其他好文 时间:
2020-01-16 12:29:21
阅读次数:
81