Go to file
whaifree 536890ab62 "threading examples: 添加计数器、栅栏和未来演示类
添加三个新的演示类来展示不同线程控制机制的使用:- CountDownLatchDemo2:展示如何使用CountDownLatch来同步等待其他线程完成。
- CyclicBarrierDemo2:展示如何使用CyclicBarrier来周期性地等待一组线程完成。
- FutureGetDemo:展示如何使用ExecutorService和Future来异步执行任务并等待它们完成。这些演示类补充了现有的线程演示,提供了更多有关如何在Java中使用高级线程控制结构的实例。"

```添加动态规划解决方案和新的测试用例为特定问题实现动态规划解决方案,并添加新的测试用例以验证代码的正确性。具体包括:

1. 添加LeetCode 45题的两个解:jump和jump1,使用不同的动态规划策略。
2. 添加LeetCode 53题的两个解:使用动态规划的Solution1和Solution2。
3. 添加LeetCode55题的解:使用动态规划的Solution。4. 添加LeetCode 122题的两个解:maxProfit和maxProfit1,分别使用不同的策略。
5. 添加LeetCode376题的解:使用动态规划的Solution。

所有添加的解决方案都通过了相应的测试用例,确保了代码的正确性和有效性。
```
2024-08-05 23:04:30 +08:00
src "threading examples: 添加计数器、栅栏和未来演示类 2024-08-05 23:04:30 +08:00
.gitignore 初始化 2023-12-01 21:20:53 +08:00
.sync.cmd Updated files: .sync.cmd src/main/java/cn/whaifree/MonotoneStack/LeetCode739.java src/main/java/cn/whaifree/leetCode/LeetCode/LeetCode42.java 2024-04-09 10:50:12 +08:00
cc.txt Updated files: cc.txt hs_err_pid119104.log src/main/java/cn/whaifree/redo/redo_24_4_1/LeetCode2602.java src/main/java/cn/whaifree/redo/redo_24_4_1/PaLouTi.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode121.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode21.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode22.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode31.java sync.cmd 2024-04-07 14:30:54 +08:00
hs_err_pid119104.log Updated files: cc.txt hs_err_pid119104.log src/main/java/cn/whaifree/redo/redo_24_4_1/LeetCode2602.java src/main/java/cn/whaifree/redo/redo_24_4_1/PaLouTi.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode121.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode21.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode22.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode31.java sync.cmd 2024-04-07 14:30:54 +08:00
pom.xml Update files and add new classes LeetCode496, LeetCode503, and others, with related tests and solutions. 2024-04-11 13:08:32 +08:00
README.md lc 2024-03-27 21:52:49 +08:00
sync.cmd Updated files: cc.txt hs_err_pid119104.log src/main/java/cn/whaifree/redo/redo_24_4_1/LeetCode2602.java src/main/java/cn/whaifree/redo/redo_24_4_1/PaLouTi.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode121.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode21.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode22.java src/main/java/cn/whaifree/redo/redo_24_4_6/LeetCode31.java sync.cmd 2024-04-07 14:30:54 +08:00
Tc.md 代码重构:优化查询性能并解决超时问题- 引入线程池来处理并发查询请求,以提升查询性能。 2024-08-02 11:01:42 +08:00
目录.md redo 2024-03-31 11:34:29 +08:00

LeetCode

自己瞎写的公众号与博客

  • 👋 Hi, Im @whaibetter
  • 👀 I am currently studying the postgraduate class of Computer Technology in Zhejiang university of technology(ZJUT) of China
    • I studied the undergraduate class of *Data science and Big data technology* in Zhejiang university of science and technology(ZUST) of China
  • 🌴 Im currently learning java and big data
  • 💕
  • 🐦 How to reach me:

  • 👋嗨,我是@whaibetter
  • 👁 我目前就为在 浙江工业大学 就读计算机技术 专业硕士研究生
    • 我本科毕业于浙江科技学院*数据科学与大数据技术专业*
  • 🌴 目前正在学习java和大数据
  • 💕 联系我?

whai的个人博客 whaifree.top 欢迎留言!