dfs
NominationP
一切都是最好的安排
展开
-
237. Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value 3, t原创 2016-05-03 21:27:37 · 217 阅读 · 0 评论 -
DFS JAVA 模板
很好用import java.awt.*;import java.util.ArrayList;/** * Created by zhangzexiang on 2016/8/9. */public class SmartRorbot_1048 {static int maxn=100; static boolean vst[][] = new boolean[maxn][maxn原创 2016-08-09 21:42:08 · 2401 阅读 · 0 评论