題目: You are playing the following Nim Game with your friend: Initially, there...
題目: The string "PAYPALISHIRING" is written in a zigzag pattern on a g...
題目: Given two strings s and t, return true if t is an anagram of s, and false o...
題目: We are playing the Guess Game. The game is as follows: I pick a number fr...
題目: You are a product manager and currently leading a team to develop a new pro...
題目: Given two integer arrays nums1 and nums2, return an array of their intersec...
題目: Given a string s, check if it can be constructed by taking a substring of i...
題目: Given two strings s and t, determine if they are isomorphic. Two strings...
題目: Given the root of a binary tree, return its maximum depth. A binary tree'...
題目: You are given row x col grid representing a map where grid[i][j] = 1 repres...
題目: Given an integer array nums where the elements are sorted in ascending orde...
題目: Given a string s, reverse only all the vowels in the string and return it....
大家好我阿褚啦,這次是第二次參加鐵人賽,去年的我一直抱著"我明年肯定可以學到點什麼"的決心,不過過了一年還是沒有長進 (›´ω`‹ ) 好啦回歸正題。 雖然稱不...
題目: Given two strings s and t, return true if s is a subsequence of t, or false...
題目: Given the heads of two singly linked-lists headA and headB, return the node...
題目: Implement the myAtoi(string s) function, which converts a string to a 32-bi...
題目: Given an integer array nums, return all the triplets [nums[i], nums[j], num...
題目: A phrase is a palindrome if, after converting all uppercase letters into lo...
題目: Write a function that takes an unsigned integer and returns the number of '...
題目: You are given a license key represented as a string s that consists of only...
題目: Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pas...
題目: Given a binary search tree (BST), find the lowest common ancestor (LCA) of...
題目: Implement a last-in-first-out (LIFO) stack using only two queues. The imple...
題目: Given a binary array nums, return the maximum number of consecutive 1's in...
題目: Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to b...
題目: Given n pairs of parentheses, write a function to generate all combinations...
又一種綁特定語言的題目,幸好我之前筆電裝linux系統時有自己學過一下 題目: Given a text file file.txt that contain...
題目: Given a string s containing just the characters '(', ')', '{', '}', '[' and...
題目: The complement of an integer is the integer you get when you flip all the 0...
題目: Given two integers dividend and divisor, divide two integers without using...