2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
今天來寫第15題 題目 題目翻譯 給一包含n個整數的陣列nums,有任意三個元素a, b, c能夠使a + b + c = 0 成立嗎?找到所有陣列中的三個數...
There is a class with m students and n exams. You are given a 0-indexed m x n in...
A sentence consists of lowercase letters ('a' to 'z'), digits ('0' to '9'), hyph...
An integer array original is transformed into a doubled array changed by appendi...
You are given a 0-indexed 2D array grid of size 2 x n, where grid[r][c] represen...
題目:給定一個二元樹,判斷這個二元樹是否是一個有效的二元搜尋樹(BST, Binary Search Tree)。 一個有效的二元搜尋樹必須滿足以下條件: 節...