iT邦幫忙

刷題相關文章
共有 161 則文章
鐵人賽 自我挑戰組 DAY 6

技術 Day05|Codewars 刷題日 (4)

咪那桑晚安R有鑒於今天出門衝台北放閃時間上有點來不及寫六級的就先拿一些七級去做代替吧 qwq 7kyu. Growth of a Population hmm....

技術 leetcode with python:485. Max Consecutive Ones

題目: Given a binary array nums, return the maximum number of consecutive 1's in...

技術 leetcode with MySQL:182. Duplicate Emails

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

技術 leetcode with python:145. Binary Tree Postorder Traversal

題目: Given the root of a binary tree, return the postorder traversal of its node...

技術 leetcode with python:101. Symmetric Tree

題目: Given the root of a binary tree, check whether it is a mirror of itself (i....

技術 leetcode with python:409. Longest Palindrome

題目: Given a string s which consists of lowercase or uppercase letters, return t...

技術 leetcode with python:53. Maximum Subarray

題目: Given an integer array nums, find the contiguous subarray (containing at le...

技術 leetcode with python:155. Min Stack

題目: Design a stack that supports push, pop, top, and retrieving the minimum ele...

技術 leetcode with python:448. Find All Numbers Disappeared in an Array

題目: Given an array nums of n integers where nums[i] is in the range [1, n], ret...

技術 leetcode with python:36. Valid Sudoku

題目: Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to b...

技術 leetcode with python:367. Valid Perfect Square

題目: Given a positive integer num, write a function which returns True if num is...

技術 leetcode with python:455. Assign Cookies

題目: Assume you are an awesome parent and want to give your children some cookie...

技術 leetcode with python:66. Plus One

題目: You are given a large integer represented as an integer array digits, where...

技術 leetcode with python:263. Ugly Number

題目: An ugly number is a positive integer whose prime factors are limited to 2,...

技術 leetcode with python:415. Add Strings

題目: Given two non-negative integers, num1 and num2 represented as string, retur...

技術 leetcode with python:12. Integer to Roman

題目: Roman numerals are represented by seven different symbols: I, V, X, L, C, D...

技術 leetcode with python:290. Word Pattern

題目: Given a pattern and a string s, find if s follows the same pattern. Here...

技術 leetcode with python:283. Move Zeroes

題目: Given an integer array nums, move all 0's to the end of it while maintainin...

技術 leetcode with python:111. Minimum Depth of Binary Tree

題目: Given a binary tree, find its minimum depth. The minimum depth is the num...

技術 leetcode with python:144. Binary Tree Preorder Traversal

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

技術 leetcode with python:171. Excel Sheet Column Number

題目: Given a string columnTitle that represents the column title as appears in a...

技術 leetcode with python:16. 3Sum Closest

題目: Given an integer array nums of length n and an integer target, find three i...

鐵人賽 自我挑戰組 DAY 5

技術 Day04|Codewars 刷題日 (3)

今天跑去跳韓舞,好久沒有一次跳四小,覺得骨頭都快散掉了qwq 而且今天也解不了好多題,只能找些簡單的拿來放了(跪 6.kyu Bit Counting Writ...

技術 leetcode with python:9. Palindrome Number

題目: Given an integer x, return true if x is palindrome integer.An integer is a...

技術 leetcode with python:19. Remove Nth Node From End of List

題目: Given the head of a linked list, remove the nth node from the end of the li...

技術 leetcode with python:136. Single Number

題目: Given a non-empty array of integers nums, every element appears twice excep...

技術 leetcode with python:434. Number of Segments in a String

題目: Given a string s, return the number of segments in the string. A segment...

技術 leetcode with python:33. Search in Rotated Sorted Array

題目: There is an integer array nums sorted in ascending order (with distinct val...

技術 leetcode with python:492. Construct the Rectangle

題目: A web developer needs to know how to design a web page's size. So, given a...

技術 leetcode with python:401. Binary Watch

題目: A binary watch has 4 LEDs on the top to represent the hours (0-11), and 6 L...