iT邦幫忙

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

技術 leetcode with python:38. Count and Say

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

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

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

技術 leetcode with python:383. Ransom Note

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

鐵人賽 自我挑戰組 DAY 2

技術 Day01|Weekly Coding Challenges

本來有點苦惱今天要刷哪幾題,結果早上就收到 Codewars 的 Weekly Coding Challenges 的信件~就決定是尼了!洨智(X) (圖源來自...

技術 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:374. Guess Number Higher or Lower

題目: We are playing the Guess Game. The game is as follows: I pick a number fr...

技術 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 python:125. Valid Palindrome

題目: A phrase is a palindrome if, after converting all uppercase letters into lo...

技術 leetcode with python:242. Valid Anagram

題目: Given two strings s and t, return true if t is an anagram of s, and false o...

鐵人賽 Software Development DAY 0

技術 刷題紀錄 1: Two Sum

分享刷題的紀錄用的語言是 Javascript 第一題是經典 Two Sum Two Sum Given an array of integers nums ...

技術 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:203. Remove Linked List Elements

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

技術 leetcode with python:257. Binary Tree Paths

題目: Given the root of a binary tree, return all root-to-leaf paths in any order...

技術 leetcode with python:206. Reverse Linked List

題目: Given the head of a singly linked list, reverse the list, and return the re...

技術 leetcode with python:8. String to Integer (atoi)

題目: Implement the myAtoi(string s) function, which converts a string to a 32-bi...

技術 leetcode with python:11. Container With Most Water

題目: You are given an integer array height of length n. There are n vertical lin...

技術 leetcode with python:5. Longest Palindromic Substring

題目: Given a string s, return the longest palindromic substring in s. 給定一個字串,找出...

技術 leetcode with python:6. Zigzag Conversion

題目: The string "PAYPALISHIRING" is written in a zigzag pattern on a g...

技術 leetcode with python:350. Intersection of Two Arrays II

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

鐵人賽 自我挑戰組 DAY 4

技術 Day03|Codewars 刷題日 (2)

今天是實習的最後一天,還要面對下禮拜就要開學的事實 q_q好不想上課RRRRRRR(倒 6kyu. Persistent Bugger. Write a fun...

技術 leetcode with python:1. Two Sum

從今天起在此紀錄用python寫leetcode的心路歷程希望能以一天兩三題的速率下去更新讓自己的程式更加精進 題目: Given an array of i...

技術 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:21. Merge Two Sorted Lists

題目: You are given the heads of two sorted linked lists list1 and list2. Merge...

技術 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:168. Excel Sheet Column Title

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

技術 leetcode with python:217. Contains Duplicate

題目: Given an integer array nums, return true if any value appears at least twic...

技術 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:88. Merge Sorted Array

題目: You are given two integer arrays nums1 and nums2, sorted in non-decreasing...

技術 leetcode with python:258. Add Digits

題目: Given an integer num, repeatedly add all its digits until the result has on...