摘要: Description: Given string A representative a positive integer which has N digits, remove any k digits of the number, the remaining digits are arrange... 阅读全文
posted @ 2015-09-10 21:59 影湛 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Description: Given two 32 bit numbers, N and M, and two bit positions, i and j. Write a method to set all bits between i and j in N equal to M (e g ,... 阅读全文
posted @ 2015-09-10 04:41 影湛 阅读(219) 评论(1) 推荐(0) 编辑
摘要: Description: Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn... 阅读全文
posted @ 2015-09-10 03:01 影湛 阅读(121) 评论(0) 推荐(0) 编辑