在極少相關背景知識的情況下,嘗試自己摸索leetcode,培養java為主的編程能力。
畢竟未來也是躲不掉的,不如就趁著這個機會好好打下基礎。
You are given a 0-indexed 2D array grid of size 2 x n, where grid[r][c] represen...
An integer array original is transformed into a doubled array changed by appendi...
Given a string word, return the sum of the number of vowels ('a', 'e', 'i', 'o',...
Alice and Bob continue their games with stones. There is a row of n stones, and...
You are given an array nums consisting of positive integers. Starting with score...
There is a class with m students and n exams. You are given a 0-indexed m x n in...
Given an integer array nums and an integer k, return the number of good subarray...
Given an integer array nums, return the maximum result of nums[i] XOR nums[j], w...
Given a positive integer n, you can apply one of the following operations: If n...
Given an integer array nums, return all the different possible non-decreasing su...