摘要:
public int LengthOfLongestSubstring(string s) { int[] mOccur = new int[256]; int maxL = 0; char[] schar = s.ToCharArray(); for (int i = 0, j = 0; i 1) ... 阅读全文
摘要:
public class ListNode { public int val; public ListNode next; public ListNode(int x) { val = x; } } public class Solution { public ListNode AddT... 阅读全文
摘要:
public class Node { public object Element; public Node Link; public Node() { Element = null; Link = null; } public Node(object theElement) { Element = theElement; Link = null; } }public class Li... 阅读全文
摘要:
链表定义:public class Node { public object Element; //指向下一个节点的链接 public Node FLink; //指向上一个节点的链接 public Node BLink; public Node() { Element = null; FLink = null; BLink = null; } public Node(object theEleme... 阅读全文