2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
解題程式碼 var canFinish = function (numCourses, prerequisites) { let queue = [];...
今天也來解Reverse的題目 題目 asm1 asm1: <+0>: push ebp <+1>: mov ebp,e...
今天來解YKL08(UVA100):The 3n + 1 problem The 3n + 1 problem 找出介於i和j之間的數所產生的數列中最大的cy...
Problem : Given the root of a binary tree, imagine yourself standing on the righ...
DAY 8 試題 問題描述 給定一個整數陣列 height,每個值代表對應位置上的垂直線高度,這些垂直線與 x 軸形成容器。請找到兩條垂直線,與 x 軸組成一...
這題要我在一個字串 s 中,找到所有起始索引,讓從這些索引開始的子字串,剛好是 words 中所有字串的排列組合串連而成,困難點在於,怎樣有效的找到所有可能的子...