-
Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn ...
-
Write a program to find the node at which the intersection of two singly linked lists begins.
For example, the following two ...
-
Given a binary tree, return all root-to-leaf paths.
For example, given the following binary tree:
123456 1 / \2 3 \ ...
-
Reverse bits of a given 32 bits unsigned integer.
For example, given input 43261596 (represented in binary as 000000101001010...
-
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
12345671 -> A2 -...
-
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome.
Example 1:
123I...
-
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,&qu...
-
Given two binary strings, return their sum (also a binary string).
For example,a = "11"b = "1"Return &quo...
-
如何通俗的理解EM算法,看到了一篇很优秀的文章,在这里记录一下:https://www.jianshu.com/p/1121509ac1dc
-
Given a singly linked list, determine if it is a palindrome.
Follow up:Could you do it in O(n) time and O(1) space?
using t...