2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
今天我們來解一道經典的 LeetCode 題目:Two Sum。題目要求我們從一個整數陣列中找到兩個數字,使它們的加總等於給定的目標值,並回傳它們的索引值。 題...
Day 19
2024-09-22
373
0
Lab-login 題目很好心把他會查詢的指令列出來了,可以發現他都有用 () 包起來,所以截斷的時候要注意要把 ) 也帶上,就能順利 Injection 了。...
在 JavaScript 中this的指向會根據不同呼叫的方式而有不同的結果,以下分別列出幾種this的運作方式: 全域環境 在全域的環境下: 瀏覽器中:th...
Day 24
2024-10-08
371
0
原文題目 Write an efficient algorithm that searches for a value target in an m x n i...
Day 17
2024-10-01
369
0
解題程式碼 var pivotIndex = function (nums) { let sum = nums.reduce((tol, acc) =&gt...
Day 28
2024-10-12
369
0
Problem : You are given an array prices where prices[i] is the price of a given...