Fork me on GitHub
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页
摘要: 可以用数组保存 然后每一个结点的值进行更改 https://www.bilibili.com/video/av49696612/?redirectFrom=h5 迭代法 递归 阅读全文
posted @ 2019-07-24 17:20 cznczai 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 因为说不能改变结点内部的值 感觉我这种方法不是很可靠 重复同一个行为采用递归 阅读全文
posted @ 2019-07-24 10:19 cznczai 阅读(98) 评论(0) 推荐(0) 编辑
摘要: / Definition for singly linked list. public class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } / class Solution { public ListNode 阅读全文
posted @ 2019-07-24 10:03 cznczai 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 第十一讲 开发框架组成介绍 微信小程序的基本框架 wxml wxss wxs javascript 第十二讲 WXML WXML是框架设计的一套标签语言,结合组件、WXS和事务系统,可以构建出页面的结构 语法 第十三讲 WXML特征之数据绑定 helloworld.js helloworld.wxm 阅读全文
posted @ 2019-07-23 17:53 cznczai 阅读(174) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1648545/201907/1648545-20190722160637517-1166644540.png) ``` /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode ... 阅读全文
posted @ 2019-07-22 16:07 cznczai 阅读(104) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1648545/201907/1648545-20190722151517570-1874286987.png) ```java class Solution { public ListNode deleteDuplicates(ListNode head) { if (head == null) return ... 阅读全文
posted @ 2019-07-22 15:18 cznczai 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 这道题主要是给出一个点 并且删除这个点 这个题的思路就是找一个点去取代这个点 只能选择下一个点 然后把下一个点的值赋值给这个点 然后删除下一个点 阅读全文
posted @ 2019-07-22 10:45 cznczai 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 数学计算 阅读全文
posted @ 2019-07-18 18:44 cznczai 阅读(245) 评论(2) 推荐(0) 编辑
摘要: class Solution { HashMaphm ; public int[] twoSum(int[] nums, int t) { int [] ans = new int[2] ; hm = new HashMap(); for(int i = 0 ; i hm = new HashMap 阅读全文
posted @ 2019-07-18 01:04 cznczai 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 除数的话要用double保存 题目要看清楚 每一个字都要看仔细 import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanne 阅读全文
posted @ 2019-07-17 19:20 cznczai 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页