会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ornithopter
博客园
首页
新随笔
联系
订阅
管理
2014年8月26日
ThoughtWorks笔试题之Merchant's Guide To The Galaxy解析
摘要: 我没有拿到具体的题目,只是参考了http://www.cnblogs.com/deepleo/p/thoughtworks.html,希望没有理解错误。我觉得这里的重点之一是语义分析,需要在运行时解析各个“外星文”代码如下(比较潦草,也没错误处理,罪过罪过。。。):ProblemOne.csusin...
阅读全文
posted @ 2014-08-26 18:16 Ornithopter
阅读(6770)
评论(2)
推荐(1)
2014年7月11日
设置电信光猫为桥接模式
摘要: 1、记录如下参数宽带账户拨号密码(不一定与服务密码一样)Vlan IDMTU802.1p绑定端口(就是网线与光猫连接的端口)2、向宽带装机师傅弄到猫的超级用户密码(一般用户名为telecomadmin,密码会定期变更)3、进入猫的后台设置页面(一般是192.168.1.1),进入【网络】->【宽带设...
阅读全文
posted @ 2014-07-11 21:21 Ornithopter
阅读(41091)
评论(0)
推荐(0)
2014年6月27日
Finder(文件内容搜索工具)
摘要: 搜索文件夹内容的小工具Github两种搜索模式的算法:BoyerMooreSearch.csusing System.Threading;using System.Collections.Generic;using System.Linq;namespace Finder.Algorithms{ ...
阅读全文
posted @ 2014-06-27 17:56 Ornithopter
阅读(1268)
评论(0)
推荐(0)
2014年6月19日
数独解法(C#)
摘要: 未完成,回家继续using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Algorithems{ class...
阅读全文
posted @ 2014-06-19 17:53 Ornithopter
阅读(285)
评论(0)
推荐(0)
2014年6月18日
Boyer-Moore (C#)
摘要: 调用ShowExample方法即可查看结果使用Debug配置编译可以查看详细匹配过程using System;using System.Collections.Generic;namespace Algorithms{ /// /// An implemention of Boyer-...
阅读全文
posted @ 2014-06-18 10:57 Ornithopter
阅读(324)
评论(0)
推荐(0)
2014年6月16日
Dijstra(C#)
摘要: 支持有向与无向图DijistraSeach.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Dijis...
阅读全文
posted @ 2014-06-16 17:44 Ornithopter
阅读(226)
评论(0)
推荐(0)
2014年6月6日
Trie(C#)
摘要: 支持模糊搜索(非通配符)支持搜索结果优先级(首字母匹配、连续匹配有较高优先级TrieSearch.csusing System;using System.Collections.Generic;using System.Diagnostics;using System.Globalization;u...
阅读全文
posted @ 2014-06-06 18:00 Ornithopter
阅读(742)
评论(0)
推荐(0)
2014年5月23日
ImLazy(ruby)
摘要: ImLazy是个人使用的小程序,抽时间在公司写了个ruby版本,未完成equals_verb# To change this template, choose Tools | Templates# and open the template in the editor.require "SDK/ve...
阅读全文
posted @ 2014-05-23 17:54 Ornithopter
阅读(424)
评论(0)
推荐(0)
2014年5月16日
Trie实现(C++)
摘要: 参考了本文:http://www.cnblogs.com/xulb597/archive/2012/07/05/2578562.html支持模糊搜索,比如,【bkmh】可以匹配【BuKaManHua】;支持优先级,首字母、大小字母有更高的优先级。亟需解决的问题:目前搜索结果与关键词中字母的顺序无关,...
阅读全文
posted @ 2014-05-16 16:44 Ornithopter
阅读(383)
评论(0)
推荐(0)
2014年5月12日
简单的通配符匹配算法
摘要: 个人的小程序需要匹配一些简单的通配符,如*?之类。抽时间写了一个 1 #pragma once 2 #ifndef CHECKER 3 #define CHECKER 4 5 #include 6 #include 7 #include 8 using namespace s...
阅读全文
posted @ 2014-05-12 17:34 Ornithopter
阅读(2035)
评论(0)
推荐(0)
下一页
公告