iT邦幫忙

python3相關文章
共有 946 則文章

技術 Python & Airflow 學習筆記_環境架設

最近接觸到 Airflow 這個工具,順便紀錄一下學習的過程,如果有錯誤歡迎留言指正本文僅限於學術用途,各項參考網址皆有附上連結,若有觸犯版權請留言告知 一、設...

技術 leetcode with python:39. Combination Sum

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

技術 leetcode with python:495. Teemo Attacking

題目: Our hero Teemo is attacking an enemy Ashe with poison attacks! When Teemo a...

技術 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:485. Max Consecutive Ones

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

技術 leetcode with python:482. License Key Formatting

題目: You are given a license key represented as a string s that consists of only...

技術 leetcode with python:476. Number Complement

題目: The complement of an integer is the integer you get when you flip all the 0...

技術 leetcode with python:463. Island Perimeter

題目: You are given row x col grid representing a map where grid[i][j] = 1 repres...

技術 leetcode with python:461. Hamming Distance

題目: The Hamming distance between two integers is the number of positions at whi...

技術 leetcode with python:38. Count and Say

題目: The count-and-say sequence is a sequence of digit strings defined by the re...

技術 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:34. Find First and Last Position of Element in Sorted Array

題目: Given an array of integers nums sorted in non-decreasing order, find the st...

技術 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:31. Next Permutation

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

技術 leetcode with python:459. Repeated Substring Pattern

題目: Given a string s, check if it can be constructed by taking a substring of i...

技術 leetcode with python:455. Assign Cookies

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

技術 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:441. Arranging Coins

題目: You have n coins and you want to build a staircase with these coins. The st...

技術 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:415. Add Strings

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

技術 leetcode with python:414. Third Maximum Number

題目: Given an integer array nums, return the third distinct maximum number in th...

技術 leetcode with python:412. Fizz Buzz

題目: Given an integer n, return a string array answer (1-indexed) where: answe...

技術 leetcode with python:409. Longest Palindrome

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

技術 leetcode with python:405. Convert a Number to Hexadecimal

題目: Given an integer num, return a string representing its hexadecimal represen...

技術 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:401. Binary Watch

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

技術 leetcode with python:392. Is Subsequence

題目: Given two strings s and t, return true if s is a subsequence of t, or false...

技術 leetcode with python:29. Divide Two Integers

題目: Given two integers dividend and divisor, divide two integers without using...

技術 leetcode with python:24. Swap Nodes in Pairs

好耶不知不覺就來到第100篇文了之後medium題的占比會越來越高吧慶祝一下就來繼續寫文了XD希望未來也能繼續持續下去 題目: Given a linked...

技術 leetcode with python:22. Generate Parentheses

題目: Given n pairs of parentheses, write a function to generate all combinations...