2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 17
2024-08-17
417
0
MediumRelated Topics: Array / Dynamic ProgrammingLeetCode Source 解題想法 暴力解的話,會使...
Write an algorithm to determine if a number n is happy.A happy number is a numb...
Day 21
2024-10-05
415
0
前言 今天要解的題目是 Valid Parentheses(有效的括號)。題目要求我們判斷一個只包含括號的字串是否是有效的。 有效的意思是:每個開括號必須有...
Day 16
2024-08-28
413
0
Top K Numbers介紹大綱:《上篇》-介紹Binary Heap(二元堆積)的結構與特性-Binary Heap與陣列的關係《中篇》-Binary H...
Day 10
2024-09-24
413
0
解題程式碼 var exist = function (board, word) { const DFS = (i, j, wordIndex) =>...
原文題目 You are given an m x n integer matrix matrix with the following two propert...