摘要:
Given a non-empty 2D matrix matrix and an integer k, find the max sum of a rectangle in the matrix such that its sum is no larger than k. Example: The 阅读全文
posted @ 2016-07-17 21:51
ZHOU YANG
阅读(1228)评论(0)推荐(0)
摘要:
Suppose I have a df which has columns of 'ID', 'col_1', 'col_2'. And I define a function : Now I want to apply the f to df's two columns 'col_1', 'col 阅读全文
posted @ 2016-06-06 16:24
ZHOU YANG
阅读(24957)评论(0)推荐(1)
摘要:
《C++ Primer》中第15章为了讲解面向对象编程,举了一个例子:设计一个小程序,能够处理查询给定word在文件中所在行的任务,并且能够处理“非”查询,“或”查询,“与”查询。例如执行查询 one & of |the ,表示对单词one和of的查询结果取交集,然后对单词the的查询结果取并集。 阅读全文
posted @ 2016-05-29 17:39
ZHOU YANG
阅读(876)评论(0)推荐(1)