Easy In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element repeated N time ...
分类:
其他好文 时间:
2019-08-27 23:08:11
阅读次数:
82
Description: Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be reversed ei ...
分类:
其他好文 时间:
2019-08-27 19:33:14
阅读次数:
58
Description: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list -- head = ...
分类:
其他好文 时间:
2019-08-27 19:21:26
阅读次数:
91
Description: For a non-negative integer X, the array-form of X is an array of its digits in left to right order. For example, if X = 1231, then the ar ...
分类:
其他好文 时间:
2019-08-27 17:35:04
阅读次数:
107
Description: We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. ...
分类:
其他好文 时间:
2019-08-26 00:27:18
阅读次数:
63
首先如果你没有密码学基础是得去恶补一下的 然后步骤是先算出欧拉函数 之后提交注意是cyberpeace{********}这样的 ,博主以为是flag{}耽误了很长时间 明明没算错呀 hhhh 一看首先肯定要用morse解码 解密morse密码工具https://tool.lu/morse/ 你看提 ...
分类:
其他好文 时间:
2019-08-25 11:49:42
阅读次数:
858
Description: The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated ...
分类:
其他好文 时间:
2019-08-23 19:27:17
阅读次数:
79
GitHub上的正则表达式在线学习Learn Regex The Easy Way,可以帮助初学者快速入门 该项目已汉化,可在线练习 地址:https://github.com/ziishaned/learn-regex 练习:https://regex101.com/ ...
分类:
其他好文 时间:
2019-08-23 09:13:52
阅读次数:
135
Description: Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and the character w ...
分类:
其他好文 时间:
2019-08-23 00:26:41
阅读次数:
135
Description: Given a string S and a character C, return an array of integers representing the shortest distance from the character C in the string. Ex ...
分类:
其他好文 时间:
2019-08-22 19:13:00
阅读次数:
117