題目: Given an array nums of n integers, return an array of all the unique quadru...
仔細看了看昨天信件剩餘的題目,hmm.. 我們還是換題好了 σ`∀´)σ 5kyu. Number of trailing zeros of N! Write...
大家好我阿褚啦,這次是第二次參加鐵人賽,去年的我一直抱著"我明年肯定可以學到點什麼"的決心,不過過了一年還是沒有長進 (›´ω`‹ ) 好啦回歸正題。 雖然稱不...
題目: Reverse bits of a given 32 bits unsigned integer. 給定32位的unsigned integer,回...
題目: You are given a sorted unique integer array nums. A range [a,b] is the se...
題目: You are given an array prices where prices[i] is the price of a given stock...
由於前面幾題easy覺得難度還可以負荷,因此開始嘗試medium的題目 題目: You are given two non-empty linked list...
題目: Given an integer array nums and an integer k, return true if there are two...
題目: Given an array nums containing n distinct numbers in the range [0, n], retu...
題目: Given a binary search tree (BST), find the lowest common ancestor (LCA) of...
題目: Given an integer array nums where the elements are sorted in ascending orde...
題目: Given a binary tree, determine if it is height-balanced. 給定一個binary tree,判...
題目: Write an algorithm to determine if a number n is happy. A happy number is...
題目: Given two binary strings a and b, return their sum as a binary string. 給定兩...
題目: You are given row x col grid representing a map where grid[i][j] = 1 repres...
題目: You are playing the following Nim Game with your friend: Initially, there...
題目: Given an array of distinct integers candidates and a target integer target,...
題目: A permutation of an array of integers is an arrangement of its members into...
題目: Given two integers dividend and divisor, divide two integers without using...
題目: Table: Weather +---------------+---------+| Column Name | Type |+---...
題目: Given an integer numRows, return the first numRows of Pascal's triangle....
題目: Given the root of a binary tree, invert the tree, and return its root. 給定一...
題目: Table: Employee +-------------+---------+| Column Name | Type |+------...
刷leetcode遇到SQL的題目,那也只能換個語言了 題目: Table: Person +-------------+---------+| Colu...
題目: Given a string s, reverse only all the vowels in the string and return it....
題目: Given two strings s and t, determine if they are isomorphic. Two strings...
題目: Given a string s containing just the characters '(', ')', '{', '}', '[' and...
題目: You are a product manager and currently leading a team to develop a new pro...
題目: Table: Person +-------------+---------+| Column Name | Type |+--------...
題目: Given the roots of two binary trees p and q, write a function to check if t...