#programming-languages
Read more stories on Hashnode
Articles with this tag
反轉字串 · 344. Reverse String 題目敘述 Write a function that reverses a string. The input string is given as an array of characters s`. You must do this by...
410. Split Array Largest Sum 題目敘述 Given an array nums which consists of non-negative integers and an integer m, you can split the array into m...
287. Find the Duplicate Number 題目敘述 Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n]...
計算兩個城市的面試調度最小花費 · 1029. Two City Scheduling 題目敘述 A company is planning to interview 2n people. Given the array costs where costs[i] = [aCosti, bCosti],...
找出最少可載完所有人的船隻數量 · 881. Boats to Save People 解題時剛好在聽這首,隨意分享一下 OneRepublic - Counting Stars (One Night in Malibu) 題目敘述 You are given an array people where...
991. Broken Calculator 題目敘述 There is a broken calculator that has the integer startValue on its display initially. In one operation, you...