上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 总结 kotlin data class 返回值最佳实践,使用ks! 字段全写默认值,不可空,取消全部问号! ks速度更快 并且支持N多数据类型 protobuf + json kt默认值只有两种方式可以获取 使用kapt, 就是使用注解 使用kt专属的反射包 ks 基于kapt注解 ks无论后端返 阅读全文
posted @ 2022-08-21 14:03 南风-- 阅读(86) 评论(0) 推荐(0)
摘要: Git 配置 # 全局 name git config --global user.name "John Doe" # 全局 邮箱 git config --global user.email johndoe@example.com ssh-keygen -t rsa -C "你的邮箱" # 然后把 阅读全文
posted @ 2022-05-06 10:04 南风-- 阅读(44) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/5aa8c2fbd3d1 直接把C:\Users\xxx.gradle里面的 gradle.properties 全部注释掉 阅读全文
posted @ 2021-11-05 13:12 南风-- 阅读(49) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/1449694/202106/1449694-20210620105654526-2031476958.png) 阅读全文
posted @ 2021-06-20 10:57 南风-- 阅读(338) 评论(0) 推荐(0)
摘要: 效果 源代码 import time from bs4 import BeautifulSoup import requests from selenium import webdriver # 原作 # https://blog.csdn.net/qq_40050586/article/detai 阅读全文
posted @ 2021-06-15 21:20 南风-- 阅读(142) 评论(0) 推荐(0)
摘要: 传送门 代码 class MyStack { Queue<Integer> que1; Queue<Integer> que2; /** Initialize your data structure here. */ public MyStack() { que1 = new LinkedList< 阅读全文
posted @ 2021-01-01 19:37 南风-- 阅读(65) 评论(0) 推荐(0)
摘要: 传送门 代码 class CQueue { Stack<Integer> stack1; Stack<Integer> stack2; public CQueue() { stack1 = new Stack<>(); stack2 = new Stack<>(); } public void ap 阅读全文
posted @ 2021-01-01 19:24 南风-- 阅读(57) 评论(0) 推荐(0)
摘要: 传送门 代码 class Solution { private int ans = 1; public int diameterOfBinaryTree(TreeNode root) { dfs(root); return ans - 1; } public int dfs(TreeNode roo 阅读全文
posted @ 2021-01-01 19:20 南风-- 阅读(65) 评论(0) 推荐(0)
摘要: 传送门 代码 class Solution { public List<List<Integer>> levelOrderBottom(TreeNode root) { List<List<Integer>> ans = new LinkedList<>(); if(root == null) re 阅读全文
posted @ 2021-01-01 19:12 南风-- 阅读(45) 评论(0) 推荐(0)
摘要: 传送门 代码 class Solution { public int lengthOfLongestSubstring(String s) { Set<Character> set = new HashSet<>(); int ans = 0,n = s.length(); for(int r = 阅读全文
posted @ 2020-12-14 12:51 南风-- 阅读(54) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 14 下一页