2017年6月11日

Codility---MaxProfit

摘要: Task description A zero-indexed array A consisting of N integers is given. It contains daily prices of a stock share for a period of N consecutive day 阅读全文

posted @ 2017-06-11 11:27 Hugh_Sun 阅读(614) 评论(0) 推荐(0) 编辑

Codility---EquiLeader

摘要: Task description A non-empty zero-indexed array A consisting of N integers is given. The leader of this array is the value that occurs in more than ha 阅读全文

posted @ 2017-06-11 10:30 Hugh_Sun 阅读(379) 评论(0) 推荐(0) 编辑

Codility---Dominator

摘要: Task description A zero-indexed array A consisting of N integers is given. The dominator of array A is the value that occurs in more than half of the 阅读全文

posted @ 2017-06-11 10:00 Hugh_Sun 阅读(327) 评论(0) 推荐(0) 编辑

导航