2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Problem : Given a sorted array of distinct integers and a target value, return t...
今天也繼續加油、繼續刷刷刷~————————————我是可愛的題目分隔線———————————— 題目1:判斷數字是否為正數、負數或零 方法:用 if-eli...
解題程式碼 解法 1. var isBalanced = function (root) { if (!root) return true; if (...
理解題目是刷題過程中的關鍵步驟,它不僅關乎解題的正確性,也影響到學習效果的提升。當面對一道題目時,首要任務是要仔細閱讀題目內容,確保對題意有清晰的理解。這包括識...
今天來解YKL02(UVA10783):Odd Sum 題目 會給a和b,要output a到b之間基數的合 Code #include <iostre...
257. Binary Tree Paths 給定一棵 Binary Tree,要求找出所有從根節點到葉子節點的路徑,並以字符串形式返回,每一條路徑以「-&gt...