
算法
文章平均质量分 66
lilongmark
Work hard. Have fun. Make history.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
面试10大算法汇总+常见题目解答(Java)
原文地址:http://www.programcreek.com/2012/12/%E9%9D%A2%E8%AF%9510%E5%A4%A7%E7%AE%97%E6%B3%95%E6%B1%87%E6%80%BB%EF%BC%8B%E5%B8%B8%E8%A7%81%E9%A2%98%E7%9B%AE%E8%A7%A3%E7%AD%94/转载 2014-04-10 17:05:21 · 11740 阅读 · 0 评论 -
Google Code Jam Qualification Round 2014 Problem A. Magic Trick 题解
Problem Recently you went to a magic show. You were very impressed by one of the tricks, so you decided to try to figure out the secret behind it! The magician starts by arranging 16 cards in a sq原创 2014-04-13 10:13:32 · 1399 阅读 · 0 评论 -
Google Code Jam Qualification Round 2014 Problem D. Deceitful War 题解
Problem Naomi and Ken sometimes play games together. Before they play, each of them gets Nidentical-looking blocks of wood with masses between 0.0kg and 1.0kg (exclusive). All of the blocks have原创 2014-04-13 10:53:19 · 1571 阅读 · 0 评论 -
Google Code Jam Qualification Round 2014 Problem B. Cookie Clicker Alpha 题解
Introduction Cookie Clicker is a Javascript game by Orteil, where players click on a picture of a giant cookie. Clicking on the giant cookie gives them cookies. They can spend those cookies to buy原创 2014-04-13 10:29:58 · 1893 阅读 · 6 评论 -
各种排序算法的稳定性和复杂度总结
算法 Data Structure Time Complexity Worst Case Auxiliary Space Complexity Best Average Worst Worst Quicksort Array O(n log(n)) O(n log(n)) O(n^2原创 2014-04-10 10:15:06 · 3096 阅读 · 0 评论