摘要: Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n 阅读全文
posted @ 2018-03-25 20:46 bonelee 阅读(202) 评论(0) 推荐(0)
摘要: For a web developer, it is very important to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by now i 阅读全文
posted @ 2018-03-25 20:28 bonelee 阅读(216) 评论(0) 推荐(0)
摘要: Given an m * n matrix M initialized with all 0's and several update operations. Operations are represented by a 2D array, and each operation is repres 阅读全文
posted @ 2018-03-25 12:34 bonelee 阅读(190) 评论(0) 推荐(0)
摘要: Given two arrays, write a function to compute their intersection. Example: Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each element 阅读全文
posted @ 2018-03-25 12:20 bonelee 阅读(158) 评论(0) 推荐(0)
摘要: Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example: 阅读全文
posted @ 2018-03-25 12:15 bonelee 阅读(144) 评论(0) 推荐(0)