V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  lu5je0  ›  全部回复第 4 页 / 共 6 页
回复总数  113
1  2  3  4  5  6  
2021-03-30 16:11:46 +08:00
回复了 bthulu 创建的主题 MySQL 西数蓝盘批量写入, 主键 uuid, 无限掉速
innodb 页分裂
steam 有现成的 api 。多看看文档
2021-03-04 21:17:44 +08:00
回复了 0x47 创建的主题 程序员 面试应该怎么出编程题?
打工人何苦为难打工人,写个 kmp 吧
2021-02-22 17:52:29 +08:00
回复了 Ficelle 创建的主题 Java 多模块单应用项目改造 dubbo 遇到的问题求助
dubbo filter
2021-02-02 20:26:11 +08:00
回复了 afirefish 创建的主题 程序员 请教将服务器控制面板映射到公网是否安全?
需要操作的时候,用 ssh 转发端口吧,比较方便
2021-01-31 23:08:46 +08:00
回复了 suueyoung 创建的主题 Go 编程语言 怎么用 golang 搞一个 [多维的笛卡尔积] 呀?
```java
class Demo {

public static void main(String[] args) {
new Demo().func();
}

public void func() {
List<List<Integer>> res = new ArrayList<>();
List<List<Integer>> sourceList = new ArrayList<>();
sourceList.add(Arrays.asList(0, 1, 2));
sourceList.add(Arrays.asList(0, 1));
sourceList.add(Arrays.asList(0, 1, 2, 3, 4));
dfs(sourceList, res, new ArrayList<>(), 0);
System.out.println(res);
}

public void dfs(List<List<Integer>> sourceList, List<List<Integer>> res, List<Integer> curList, int index) {
if (index == sourceList.size()) {
res.add(new ArrayList<>(curList));
} else {
List<Integer> source = sourceList.get(index);
for (Integer i : source) {
curList.add(i);
dfs(sourceList, res, curList, index + 1);
curList.remove(curList.size() - 1);
}

}
}

}
```
2021-01-13 09:03:44 +08:00
回复了 c2000a 创建的主题 Apple 求远程连接在家 mac 命令行的方法
frp
2021-01-08 10:36:59 +08:00
回复了 hahaFck 创建的主题 Apple 你们用的 idea 有这个问题么?
mac 版同样有这个问题
2020-11-30 01:22:51 +08:00
回复了 psw84 创建的主题 推广 NUC 黑果套餐 继续开车 有福利!
分子分子
2020-11-18 16:07:06 +08:00
回复了 Sain 创建的主题 Apple 新款 M1 mac 外接 4k 显示器性能和散热如何?
同问,能否支持 4k120
2020-10-29 10:56:42 +08:00
回复了 fwee 创建的主题 硬件 装台写代码玩游戏用的台式机,不太懂显卡,老铁们给点意见
@ArJun 然而功耗比也是 amd 比较强
2020-10-29 09:33:29 +08:00
回复了 liceal 创建的主题 程序员 为了赶项目连续加班一个月正常吗?
包身工?
2020-10-27 22:32:57 +08:00
回复了 gdw1986 创建的主题 Python 估计面试没通过,唉
public static List<List<Integer>> cal(int[] arr, int target) {
List<List<Integer>> results = new ArrayList<>();
func(results, new ArrayList<>(), arr, target, 0);
return results;
}

public static void func(List<List<Integer>> results, List<Integer> curList, int[] arr, int target, int start) {
int num = curList.stream().mapToInt(value -> value).sum();
if (num > target) {
return;
}

if (num == target) {
results.add(new ArrayList<>(curList));
} else {
for (int i = start; i < arr.length; i++) {
curList.add(arr[i]);
func(results, curList, arr, target, i);
curList.remove(curList.size() - 1);
}
}
}
回溯法吧
2020-08-05 00:08:43 +08:00
回复了 Vimax 创建的主题 Java 升级到 IDEA 2020.2 后经常没提示及报错修复后不会消失
退回 2020.1.4 吧
2020-08-01 23:50:42 +08:00
回复了 nozama 创建的主题 程序员 失业期间更新了 WGestures 2 & Tickeys for mac,下周开始找工作
一直在用
此堆非彼堆
2020-07-06 17:11:48 +08:00
回复了 liaotuo 创建的主题 程序员 求推荐 值得购买的 程序员用的 无线鼠标
g304 好用
如何在上班时摸鱼而不被发现
2020-06-05 17:08:04 +08:00
回复了 yazoox 创建的主题 Vim 平时经常使用 vim 的兄弟姐妹们,你们用什么键当 leader?
逗号
1  2  3  4  5  6  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   837 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 59ms · UTC 21:24 · PVG 05:24 · LAX 13:24 · JFK 16:24
♥ Do have faith in what you're doing.