iT邦幫忙

鐵人檔案

2024 iThome 鐵人賽
回列表
佛心分享-刷題不只是刷題

Java刷題B:Leetcode Top 100 Liked 系列

此主題將有三位參賽者共同參與,我們將合力完成三方共 90篇的鐵人文章(Java刷題A/B和C++刷題)。根據LeetCode Top 100 Liked題目集的脈絡,我們將介紹共十四種演算法,並透過Java和C++實作LeetCode上的題目。

參賽天數 13 天 | 共 13 篇文章 | 1 人訂閱 訂閱系列文 RSS系列文 團隊鼠家沒有暑假
DAY 11

Day11 Greedy Algorithm題目2:55. Jump Game

原文題目 You are given an integer array nums. You are initially positioned at the ar...

2024-09-25 ‧ 由 ilun0221 分享
DAY 12

Day12 Greedy Algorithm題目3:45. Jump Game II

原文題目 You are given a 0-indexed array of integers nums of length n. You are initi...

2024-09-26 ‧ 由 ilun0221 分享
DAY 13

Day13 演算法介紹:堆積(Heap)

堆積(Heap) 是一種特殊且完整的二元樹,可分為最大/小堆積樹兩種。最大堆積樹中所有節點的值都大或等於它左右子節點的值,這兩種樹的樹根(root)是其堆積樹中...

2024-09-27 ‧ 由 ilun0221 分享