随笔分类 -  算法

算法小玩意
摘要:N皇后问题 N*N的棋盘上摆上N个皇后,使皇后不会相互攻击。 public class NQueenPuzzle { private readonly int queenAmount; private readonly int[] xLocations; private int solutionCo 阅读全文
posted @ 2016-04-27 14:22 ShaunLing 阅读(217) 评论(0) 推荐(0)
考量智力的面试题
摘要:原文链接: The top 5 coolest questions I was asked during tech interviews 原文作者: César Ferreira 译者: leege100 下面这五个逻辑推理/解密的问题,是我过去的几年里在面试科技公司时被问到过最酷的几个问题。 瓶子中的水 现在有两个容... 阅读全文
posted @ 2016-02-25 17:06 ShaunLing 阅读(595) 评论(1) 推荐(0)