題目: The Hamming distance between two integers is the number of positions at whi...
題目: The count-and-say sequence is a sequence of digit strings defined by the re...
題目: Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to b...
題目: Given an array of integers nums sorted in non-decreasing order, find the st...
題目: There is an integer array nums sorted in ascending order (with distinct val...
題目: A permutation of an array of integers is an arrangement of its members into...
題目: Given a string s, check if it can be constructed by taking a substring of i...
題目: Assume you are an awesome parent and want to give your children some cookie...
題目: Given an array nums of n integers where nums[i] is in the range [1, n], ret...
題目: You have n coins and you want to build a staircase with these coins. The st...
題目: Given a string s, return the number of segments in the string. A segment...
題目: Given two non-negative integers, num1 and num2 represented as string, retur...
題目: Given an integer array nums, return the third distinct maximum number in th...
題目: Given an integer n, return a string array answer (1-indexed) where: answe...
題目: Given a string s which consists of lowercase or uppercase letters, return t...
題目: Given an integer num, return a string representing its hexadecimal represen...
題目: Given the root of a binary tree, return the sum of all left leaves. A lea...
題目: A binary watch has 4 LEDs on the top to represent the hours (0-11), and 6 L...
題目: Given two strings s and t, return true if s is a subsequence of t, or false...
題目: Given two integers dividend and divisor, divide two integers without using...
好耶不知不覺就來到第100篇文了之後medium題的占比會越來越高吧慶祝一下就來繼續寫文了XD希望未來也能繼續持續下去 題目: Given a linked...
題目: Given n pairs of parentheses, write a function to generate all combinations...
題目: You are given two strings s and t. String t is generated by random shuffl...
題目: Given the head of a linked list, remove the nth node from the end of the li...
題目: Given a string s, find the first non-repeating character in it and return i...
題目: Given two strings ransomNote and magazine, return true if ransomNote can be...
題目: Given an array nums of n integers, return an array of all the unique quadru...
題目: Given a string containing digits from 2-9 inclusive, return all possible le...
題目: Given an integer array nums of length n and an integer target, find three i...
題目: We are playing the Guess Game. The game is as follows: I pick a number fr...