摘要:
Spiral Matrix II (M) 题目 Given a positive integer n, generate a square matrix filled with elements from 1 to \(n^2\) in spiral order. Example: Input: 3 阅读全文
摘要:
Length of Last Word (E) 题目 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in t 阅读全文
摘要:
Hamming Distance (E) 题目 The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two 阅读全文