iT邦幫忙

刷題相關文章
共有 162 則文章

技術 leetcode with python:228. Summary Ranges

題目: You are given a sorted unique integer array nums. A range [a,b] is the se...

技術 leetcode with python:234. Palindrome Linked List

題目: Given the head of a singly linked list, return true if it is a palindrome....

技術 leetcode with python:202. Happy Number

題目: Write an algorithm to determine if a number n is happy. A happy number is...

技術 leetcode with python:69. Sqrt(x)

題目: Given a non-negative integer x, compute and return the square root of x....

技術 leetcode with python:110. Balanced Binary Tree

題目: Given a binary tree, determine if it is height-balanced. 給定一個binary tree,判...

技術 leetcode with python:2. Add Two Numbers

由於前面幾題easy覺得難度還可以負荷,因此開始嘗試medium的題目 題目: You are given two non-empty linked list...

技術 leetcode with python:169. Majority Element

題目: Given an array nums of size n, return the majority element. The majority...

技術 leetcode with python:94. Binary Tree Inorder Traversal

題目: Given the root of a binary tree, return the inorder traversal of its nodes'...

技術 leetcode with python:112. Path Sum

題目: Given the root of a binary tree and an integer targetSum, return true if th...

技術 leetcode with python:268. Missing Number

題目: Given an array nums containing n distinct numbers in the range [0, n], retu...

技術 leetcode with python:404. Sum of Left Leaves

題目: Given the root of a binary tree, return the sum of all left leaves. A lea...

技術 leetcode with python:226. Invert Binary Tree

題目: Given the root of a binary tree, invert the tree, and return its root. 給定一...

技術 leetcode with python:31. Next Permutation

題目: A permutation of an array of integers is an arrangement of its members into...

技術 leetcode with python:100. Same Tree

題目: Given the roots of two binary trees p and q, write a function to check if t...

技術 Leetcode 理解題目意思與專有名詞-Leetcode 解題心得

Leetcode 理解題目意思與專有名詞-Leetcode 解題心得 Version: 2023101201作者: Billour Ou 歐育溙 這是我最近進行...

技術 leetcode with python:326. Power of Three

題目: Given an integer n, return true if it is a power of three. Otherwise, retur...

技術 leetcode with python:383. Ransom Note

題目: Given two strings ransomNote and magazine, return true if ransomNote can be...

技術 leetcode with python:3. Longest Substring Without Repeating Characters

題目: Given a string s, find the length of the longest substring without repeatin...

技術 leetcode with python:349. Intersection of Two Arrays

題目: Given two integer arrays nums1 and nums2, return an array of their intersec...

技術 leetcode with MySQL:196. Delete Duplicate Emails

題目: Table: Person +-------------+---------+| Column Name | Type |+--------...

技術 leetcode with python:168. Excel Sheet Column Title

題目: Given an integer columnNumber, return its corresponding column title as it...

技術 leetcode with MySQL:181. Employees Earning More Than Their Managers

題目: Table: Employee +-------------+---------+| Column Name | Type |+------...

技術 leetcode with python:203. Remove Linked List Elements

題目: Given the head of a linked list and an integer val, remove all the nodes of...

技術 那些刷題背後的事

終於有時間來還債了。如果想知道自己的市場價值,最好的方法就是: 去面試。 蠻多人覺得刷大量題目是很必要的,但我遇到的面試官,大部分更著重在,過程的提問和分析問題...

技術 leetcode with MySQL:175. Combine Two Tables

刷leetcode遇到SQL的題目,那也只能換個語言了 題目: Table: Person +-------------+---------+| Colu...

技術 leetcode with MySQL:183. Customers Who Never Order

題目: Table: Customers +-------------+---------+| Column Name | Type |+-----...

鐵人賽 自我挑戰組 DAY 3

技術 Day02|Codewars 刷題日 (1)

仔細看了看昨天信件剩餘的題目,hmm.. 我們還是換題好了 σ`∀´)σ 5kyu. Number of trailing zeros of N! Write...

技術 leetcode with python:39. Combination Sum

題目: Given an array of distinct integers candidates and a target integer target,...

技術 leetcode with python:338. Counting Bits

題目: Given an integer n, return an array ans of length n + 1 such that for each...

技術 leetcode with MySQL:197. Rising Temperature

題目: Table: Weather +---------------+---------+| Column Name | Type |+---...