摘要:leetcode algorithms 36 Valid Sudoku Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following ru
阅读全文
摘要:leetcode algorithms 35 Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return the ind
阅读全文
摘要:leetcode algorithms 34 Find First and Last Position of Element in Sorted Array Given an array of integers nums sorted in ascending order, find the sta
阅读全文
摘要:leetcode algorithms 32 Longest Valid Parentheses Given a string containing just the characters '(' and ')', find the length of the longest valid (well
阅读全文
摘要:leetcode algorithms 33 Search in Rotated Sorted Array Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (
阅读全文
摘要:leetcode algorithms 30 Substring with Concatenation of All Words You are given a string, s, and a list of words, words, that are all of the same lengt
阅读全文
摘要:leetcode algorithms 29 Divide Two Integers Given two integers dividend and divisor, divide two integers without using multiplication, division and mod
阅读全文