前言
本日進度:
[x] 6 題 web
Writeup
第一題:Insp3ct0r
就檢查了之後去看 HTML / CSS / JS 就可以看到 Fla...
解題程式碼
var pivotIndex = function (nums) {
let sum = nums.reduce((tol, acc) =>...
Problem :
There is an integer array nums sorted in ascending order (with distinc...
( ੭ ˙ᗜ˙ )੭嗨,我是wec,今天是DAY 19。
🔎 題目難度與描述
難度:MEDIUM
題目描述:
給定一個整數數組nums,找出其擺動序列的最大長度...
You are given an integer array nums consisting of n elements, and an integer k....
這題要把字串 s 分成每個子字串都是回文的狀態,且要算需的最小分割次數,就是對一個字串,要在最少的地方切,讓每一個切割後的部分都是回文。
思路:狀態定義,dp[...