菜菜

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  扯皮

摘要:public static class CplexStatus implements Serializable { static final long serialVersionUID = -7367834674783924158L; int _status; String _name; public static final CplexStatus ... 阅读全文
posted @ 2017-07-24 14:54 好吧,就是菜菜 阅读(314) 评论(0) 推荐(0) 编辑

摘要:那天面试的人问:只有3L和5L的杯子,没有刻度,怎么倒出4L的水,那天想了一下,没有解答出来,刚刚忽然想好了怎么解决这类问题,如下图 箭头表示从当前的点可以走到的点,这不就是一张隐式图搜索么,那天没有抽象出来,傻逼了,果然脑袋内存不够用啊,才俩个杯子,这一类的问题都是这样搞. 抽象成图,直接搜索,不 阅读全文
posted @ 2017-05-30 22:34 好吧,就是菜菜 阅读(779) 评论(0) 推荐(0) 编辑

摘要:void quickSort(int * const a, int startIndex, int endIndex) { int s = startIndex; int e = endIndex; if (endIndex == startIndex ) return; endIndex--; while (startIndex temp) { break; ... 阅读全文
posted @ 2017-05-18 12:57 好吧,就是菜菜 阅读(119) 评论(0) 推荐(0) 编辑

摘要:____________________________________________________________________________________________________ 书名 是否已购买 是否看完 是否已总结 当前状态 小白书 + NO NO 做到暴力 大白书 + N 阅读全文
posted @ 2017-05-17 23:34 好吧,就是菜菜 阅读(113) 评论(0) 推荐(0) 编辑