03 2018 档案
摘要:【题目描述】 Given an array of n integer with duplicate number, and a moving window(size k), move the window at each iteration from the start of the array,
阅读全文
摘要:【题目描述】 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after r
阅读全文
摘要:【题目描述】 Given n x m non-negative integers representing an elevation map 2d where the area of each cell is 1x1, compute how much water it is able to tra
阅读全文
摘要:【题目描述】 Find the Nth number in Fibonacci sequence. A Fibonacci sequence is defined as follow: The first two numbers are 0 and 1. The ith number is the
阅读全文
摘要:【题目描述】 Count how many 1 in binary representation of a 32-bit integer. 计算在一个 32 位的整数的二进制表示中有多少个1. 【题目链接】 www.lintcode.com/en/problem/count-1-in-binary/
阅读全文