摘要:
Given a column title as appear in an Excel sheet, return its corresponding column number. 题目大意: 根据给定规则,1对应A,2对应B,...,26对应Z,27对应AZ,...。求正整数对应的字符串。 理 解: 阅读全文
posted @ 2019-06-11 16:30
lpomeloz
阅读(99)
评论(0)
推荐(0)
摘要:
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the 阅读全文
posted @ 2019-06-11 16:08
lpomeloz
阅读(108)
评论(0)
推荐(0)
摘要:
Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: Example 1: Example 2: Example 3: 题目大意: 根据给定规 阅读全文
posted @ 2019-06-11 14:51
lpomeloz
阅读(149)
评论(0)
推荐(0)
摘要:
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function 阅读全文
posted @ 2019-06-11 12:38
lpomeloz
阅读(129)
评论(0)
推荐(0)
摘要:
Write a program to find the node at which the intersection of two singly linked lists begins. 题目大意: 给定两个链表,找到它们的第一个公共节点并返回。 理 解: 从第一个公共节点开始,两链表后面的节点都是 阅读全文
posted @ 2019-06-11 10:54
lpomeloz
阅读(320)
评论(0)
推荐(0)

浙公网安备 33010602011771号