今天是紀錄LeetCode解題的第六十三天 第六十三題題目:You are given an m x n integer array grid. There i...
前言 很久沒發文了主要是不知道在做些什麼感覺好像是在練基本功,做著重複的事情最近總算有些小小的突破 這是刷題人權指數,算是剛出新手村,做個紀念 今天也老樣子來製...
今天是紀錄LeetCode解題的第六十二天 第六十二題題目:There is a robot on an m x n grid. The robot is in...
今天是紀錄LeetCode解題的第六十一天堅持兩個月了! 第六十一題題目: 給定一個鏈結串列head,將鏈結串列向右旋轉k位 解題思路 我們先計算整個鏈結串列的...
今天是紀錄LeetCode解題的第六十天是一題困難題 第六十題題目:he set [1, 2, 3, ..., n] contains a total of n...
今天是紀錄LeetCode解題的第五十九天 第五十九題題目:Given a positive integer n, generate an n x n matr...
今天是紀錄LeetCode解題的第五十八天 第五十八題題目:Given a string s consisting of words and spaces, r...
今天是紀錄LeetCode解題的第五十七天 第五十七題題目:You are given an array of non-overlapping interval...
今天是紀錄LeetCode解題的第五十六天 第五十六題題目:Given an array of intervals where intervals[i] = [...
今天是紀錄LeetCode解題的第五十五天 第五十五題題目:You are given an integer array nums. You are initi...
今天是紀錄LeetCode解題的第五十四天 第五十四題題目:Given an m x n matrix, return all elements of the...
今天是紀錄LeetCode解題的第五十三天 第五十三題題目:Given an integer array nums, find the subarray wit...
今天是紀錄LeetCode解題的第五十二天是一題困難題 第五十二題題目:The n-queens puzzle is the problem of placin...
今天是紀錄LeetCode解題的第五十一天是一題困難題 第五十一題題目:The n-queens puzzle is the problem of placin...
今天是紀錄LeetCode解題的第五十天 第五十題題目:Implement pow(x, n), which calculates x raised to th...
今天是紀錄LeetCode解題的第四十九天 第四十九題題目:Given an array of strings strs, group the anagrams...
今天是紀錄LeetCode解題的第四十八天 第四十八題題目:You are given an n x n 2D matrix representing an i...
今天是紀錄LeetCode解題的第四十七天 第四十七題題目:Given a collection of numbers, nums, that might co...
今天是紀錄LeetCode解題的第四十六天 第四十六題題目:Given an array nums of distinct integers, return a...
今天是紀錄LeetCode解題的第四十五天 第四十五題題目:You are given a 0-indexed array of integers nums o...
今天是紀錄LeetCode解題的第四十四天是一題困難題 第四十四題題目:Given an input string (s) and a pattern (p),...
今天是紀錄LeetCode解題的第四十三天 第四十三題題目:Given two non-negative integers num1 and num2 repr...
今天是紀錄LeetCode解題的第四十二天是一題困難題 第四十二題題目: 給定n個非負整數表示高程圖,其中每個長條圖的寬度為1,計算下雨後該高程圖可以容納多少水...
今天是紀錄LeetCode解題的第四十一天是一題困難題 第四十一題題目:Given an unsorted integer array nums. Return...
今天是紀錄LeetCode解題的第四十天 第四十題題目:Given a collection of candidate numbers (candidates)...
今天是紀錄LeetCode解題的第三十九天 第三十九題題目:Given an array of distinct integers candidates and...
今天是紀錄LeetCode解題的第三十八天 第三十八題題目:The count-and-say sequence is a sequence of digit...
今天是紀錄LeetCode解題的第三十七天是一題困難題 第三十七題題目:Write a program to solve a Sudoku puzzle by...
今天是紀錄LeetCode解題的第三十六天 第三十六題題目:Determine if a 9 x 9 Sudoku board is valid. Only t...
今天是紀錄LeetCode解題的第三十五天 第三十五題題目:Given a sorted array of distinct integers and a ta...