摘要:
54.Spiral Matrix Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example,Given the follow 阅读全文
摘要:
48. Rotate Image Total Accepted: 69437 Total Submissions: 198781 Difficulty: Medium You are given an n x n 2D matrix representing an image. Rotate the 阅读全文
摘要:
Hot~~招聘——亚信科技,巴卡斯(杭州),壹晨仟阳(杭州),英雄互娱(杭州) (包括2016级新生)除了校赛,还有什么途径可以申请加入ACM校队? Red and Black Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32 阅读全文
摘要:
343. Integer Break Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Ret 阅读全文
摘要:
Let L denote the number of 1s in integer D's binary representation. Given two integers S1 and S2, we call D a XHY number if S1≤L≤S2. With a given D, w 阅读全文