IncredibleThings

导航

2018年4月29日 #

LeetCode-Microsoft-Add Two Numbers II

摘要: You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai 阅读全文

posted @ 2018-04-29 22:43 IncredibleThings 阅读(181) 评论(0) 推荐(0) 编辑

LeetCode-Microsoft-Populating Next Right Pointers in Each Node

摘要: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Populate each next pointer to point to its ne 阅读全文

posted @ 2018-04-29 12:04 IncredibleThings 阅读(125) 评论(0) 推荐(0) 编辑

LeetCode-Microsoft-Clone Graph

摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled 阅读全文

posted @ 2018-04-29 11:16 IncredibleThings 阅读(94) 评论(0) 推荐(0) 编辑

LeetCode-Microsoft-Remove K Digits

摘要: Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l 阅读全文

posted @ 2018-04-29 10:14 IncredibleThings 阅读(113) 评论(0) 推荐(0) 编辑

LeetCode-Reverse Words in a String

摘要: Given an input string, reverse the string word by word. Example: Input: "the sky is blue", Output: "blue is sky the". Notes: A word is defined as a se 阅读全文

posted @ 2018-04-29 08:30 IncredibleThings 阅读(116) 评论(0) 推荐(0) 编辑

Microsoft-Excel Sheet Column Number

摘要: Given a column title as appear in an Excel sheet, return its corresponding column number. For example: Example 1: Example 2: Example 3: 阅读全文

posted @ 2018-04-29 04:08 IncredibleThings 阅读(129) 评论(0) 推荐(0) 编辑

Microsoft - Union Two Sorted List with Distinct Value

摘要: Union Two Sorted List with Distinct Value Given X = { 10, 12, 16, 20 } & Y = {12, 18, 20, 22} We would like to find out the union of two sorted arrays 阅读全文

posted @ 2018-04-29 00:43 IncredibleThings 阅读(156) 评论(0) 推荐(0) 编辑