11 2010 档案
二叉树算法题
摘要:二叉树类定义public class BinaryNode<T>{ public T Element; public BinaryNode<T> Left; public BinaryNode<T> Right; public BinaryNode(T element, BinaryNode<T> left, BinaryNode<T> right) { this.Element = element; this.Left = left; this.Right = right; } public bool IsLeaf() { if (
阅读全文
How to do live debug the Managed code in Windows Phone 7
摘要:How to do live debug the Managed code in Windows Phone 7(Highlight part will be important)Open 2 VS 2008, 1st instance is for PB, the otheris for your managed solution. (Please make sure the 2 instanc...
阅读全文
单链表操作相关算法
摘要:整理一些面试当中经常遇到的问题 帮助自己记忆.链表的类型: 单向链表,双向链表,循环链表C++ 链表的例子typedef struct IntElement { struct IntElement *next; int data;} IntElement;c# 实现 public class LinkNode { public LinkNode Next; public object Data;}操作链表常犯的错误:C#public void insertInFront( LinkNode list, Object data){ LinkNode temp = new LinkNode();
阅读全文