13. Roman to Integer Easy Easy Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 ...
分类:
其他好文 时间:
2019-08-31 10:27:32
阅读次数:
98
Description: A permutation, also called an “arrangement number” or “order,” is a rearrangement of the elements of an ordered list S into a one-to-one ...
分类:
其他好文 时间:
2019-08-30 19:35:15
阅读次数:
76
Description: You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the ...
分类:
其他好文 时间:
2019-08-29 18:41:33
阅读次数:
142
抽空研究了下Easy Touch 5插件,发现确实很好用,下面是相应的用法: 1. Easy Touch Controls:实现虚拟摇杆的组件 在项目的"Hierarchy"窗口下,创建摇杆操作点击GameObject=>EasyTouchControls=>Joystick,创建完之后会在Hier ...
分类:
编程语言 时间:
2019-08-29 16:30:43
阅读次数:
293
Description: Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the node's value equals the give ...
分类:
其他好文 时间:
2019-08-29 15:39:22
阅读次数:
77
Description: A boomerang is a set of 3 points that are all distinct and not in a straight line. Given a list of three points in the plane, return whet ...
分类:
其他好文 时间:
2019-08-29 13:26:50
阅读次数:
78
Description: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of th ...
分类:
其他好文 时间:
2019-08-28 18:23:42
阅读次数:
89
正解:构造 解题报告: 传送门$QwQ$ 考虑如果有两个相邻格子是相同数字那么它们以上这两列就都会是这列数字(显然$QwQ$? 所以考虑只要构造出第$n-1$行的中心和中心右侧($or$左侧一样的$QwQ$都等于$x$,其他格子随便填就成鸭$QwQ$ 然后就是个$easy$了鸭,,,$QwQ$ ...
分类:
其他好文 时间:
2019-08-28 15:50:32
阅读次数:
86
Easy There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0) aft ...
分类:
其他好文 时间:
2019-08-27 23:26:05
阅读次数:
127
7. Reverse Integer Easy Easy Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Out ...
分类:
其他好文 时间:
2019-08-27 23:18:48
阅读次数:
96