数据结构与算法
wdmzszly
这个作者很懒,什么都没留下…
展开
-
数据结构-单链表翻转
public class Node { private Node next; private int value; public boolean hasNext() { return next != null; } public Node() { } public Node(Node next...原创 2018-11-05 12:40:14 · 292 阅读 · 1 评论 -
最长公共子串
public class Test { public static void main(String[] args) { String s1 = "AABdCDEF"; String s2 = "aaaABdCD"; Result result = maxSameSubString(s1, s2); System.out.println(result); } p...原创 2018-11-13 16:09:55 · 85 阅读 · 0 评论 -
Leedcode —— 62.Unique Paths
题目描述 A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach t...原创 2019-04-12 00:48:54 · 140 阅读 · 1 评论