題目: The count-and-say sequence is a sequence of digit strings defined by the re...
題目: Table: Customers +-------------+---------+| Column Name | Type |+-----...
題目: Given two strings ransomNote and magazine, return true if ransomNote can be...
本來有點苦惱今天要刷哪幾題,結果早上就收到 Codewars 的 Weekly Coding Challenges 的信件~就決定是尼了!洨智(X) (圖源來自...
題目: Given the root of a binary tree, return the inorder traversal of its nodes'...
題目: We are playing the Guess Game. The game is as follows: I pick a number fr...
題目: Given a string s, find the length of the longest substring without repeatin...
題目: Given two integer arrays nums1 and nums2, return an array of their intersec...
題目: A phrase is a palindrome if, after converting all uppercase letters into lo...
題目: Given two strings s and t, return true if t is an anagram of s, and false o...
分享刷題的紀錄用的語言是 Javascript 第一題是經典 Two Sum Two Sum Given an array of integers nums ...
題目: You are given a license key represented as a string s that consists of only...
題目: Given the head of a linked list and an integer val, remove all the nodes of...
題目: Given the root of a binary tree, return all root-to-leaf paths in any order...
題目: Given the head of a singly linked list, reverse the list, and return the re...
題目: Implement the myAtoi(string s) function, which converts a string to a 32-bi...
題目: You are given an integer array height of length n. There are n vertical lin...
題目: Given a string s, return the longest palindromic substring in s. 給定一個字串,找出...
題目: The string "PAYPALISHIRING" is written in a zigzag pattern on a g...
題目: Given two integer arrays nums1 and nums2, return an array of their intersec...
今天是實習的最後一天,還要面對下禮拜就要開學的事實 q_q好不想上課RRRRRRR(倒 6kyu. Persistent Bugger. Write a fun...
從今天起在此紀錄用python寫leetcode的心路歷程希望能以一天兩三題的速率下去更新讓自己的程式更加精進 題目: Given an array of i...
題目: Given a string s, check if it can be constructed by taking a substring of i...
題目: You are given the heads of two sorted linked lists list1 and list2. Merge...
題目: Given an integer n, return true if it is a power of three. Otherwise, retur...
題目: Given an integer columnNumber, return its corresponding column title as it...
題目: Given an integer array nums, return true if any value appears at least twic...
題目: Given two strings s and t, return true if s is a subsequence of t, or false...
題目: You are given two integer arrays nums1 and nums2, sorted in non-decreasing...
題目: Given an integer num, repeatedly add all its digits until the result has on...