摘要: 题目地址:http://www.careercup.com/question?id=5678716545925120Given a string, find the largest repetitive sequence. Algo + CodeEx: abcdefbcd – bcd, banana – ana 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace fi. 阅读全文
posted @ 2014-04-04 11:34 鳳梨酥 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 题目地址:http://www.careercup.com/question?id=4869907900530688Find next higher number with same digits.Example 1 : if num = 25468, o/p = 25486Example 2 : if num = 21765, o/p = 25167Example 3 : If num = 54321, o/p = 54321 (cause it's not possible to gen a higher num than tiz with given digits ). 1 us 阅读全文
posted @ 2014-04-03 12:50 鳳梨酥 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 今天看到新闻讲到了Amazon反应超快的下拉菜单,于是去看了下插件的GitHub地址:https://github.com/kamens/jQuery-menu-aim自己做了一个小Demo,代码如下:View Code 1 <html> 2 <head> 3 <meta charset="utf-8"> 4 <title>amazonMenu</title> 5 <script type="text/javascript" src="http://common.cnblogs. 阅读全文
posted @ 2013-03-08 11:02 鳳梨酥 阅读(3430) 评论(2) 推荐(1) 编辑
摘要: 文章使用的是MVVMLight框架,下载地址:http://mvvmlight.codeplex.com/首先要对TreeView进行扩展,使得它能够有Command,里面需要用到Prism,下载地址:http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=28950参考文章:http://www.silverlightshow.net/items/Make-the-TreeView-control-to-be-MVVM-compliant.aspx需要先添加引用:1 xmlns:tree=" 阅读全文
posted @ 2013-01-07 11:03 鳳梨酥 阅读(1170) 评论(0) 推荐(0) 编辑
摘要: 先将WCF部署到本地的IIS然后在VS中Debug--Attach to Process(附加到进程)选中w3wp.exe进程,点击Attach,就可以开始调试了 阅读全文
posted @ 2012-10-12 11:34 鳳梨酥 阅读(291) 评论(0) 推荐(0) 编辑