iT邦幫忙

leetcode相關文章
共有 1094 則文章
鐵人賽 自我挑戰組 DAY 2
深入淺出 Grind 75 系列 第 4

技術 383. Ransom Note

題目敘述 題目敘述到我們有兩個字串 ransomNote 和 magazine 假設 ransomNote 可以透過 magazine 則回傳 True 否...

鐵人賽 自我挑戰組 DAY 2
深入淺出 Grind 75 系列 第 3

技術 133. Clone Graph

題目敘述 我們必須透過已知的一個 graph 來建立一個一模一樣的 graph 但我們所回傳的 graph 不能是原本的 graph 解題思路 當遇到尋...

鐵人賽 自我挑戰組 DAY 2
深入淺出 Grind 75 系列 第 2

技術 3. Longest Substring Without Repeating Characters

題目敘述 給定一個字串 s,請找出其中不包含重複字元的最長子字串的長度。 解題思路 這題的標籤包含: Hash Table String Slidin...

鐵人賽 自我挑戰組 DAY 1
深入淺出 Grind 75 系列 第 1

技術 1. Two Sum

題目敘述 給定一個整數陣列 nums 和一個整數 target,請找出陣列中兩個數字的索引值,使得這兩個數字加總起來剛好等於 target。 每筆測資保證...

鐵人賽 Software Development DAY 11

技術 Day 11 — BFS 入門(最短路徑、迷宮遍歷)

一、學習目標 了解 BFS(Breadth-First Search) 在無權圖求最短邊數路徑的原理與不變量。 熟悉四種常見套路:網格 BFS、一般圖 BFS...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Edit Distance

Description Edit Distance Given two strings word1 and word2, return the minimu...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- House Robber

Descriptoin House Robber You are a professional robber planning to rob houses...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Climbing Stairs

Description Climbing Stairs You are climbing a staircase. It takes n steps to...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Binary Search

Description 704. Binary Search Easy Topics Companies Given an array of integers...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Sort Colors

Description Sort Colors Given an array nums with n objects colored red, white,...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Merge Sorted Array

Description Merge Sorted Array You are given two integer arrays nums1 and nums...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Pacific Atlantic Water Flow

Description Pacific Atlantic Water Flow There is an m x n rectangular island t...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Word Ladder

Description Word Ladder A transformation sequence from word beginWord to word...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Course Schedule

Description Course Schedule There are a total of numCourses courses you have t...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Number of Islands

Description Number of Islands Given an m x n 2D binary grid grid which represe...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Clone Graph

Description Clone Graph Given a reference of a node in a connected undirected...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Symmetric Tree

Description Symmetric Tree Given the root of a binary tree, check whether it i...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Same Tree

Description Same Tree Given the roots of two binary trees p and q, write a fun...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Validate Binary Search Tree

Description Validate Binary Search Tree Given the root of a binary tree, deter...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Maximum Depth of Binary Tree

Description Maximum Depth of Binary Tree Given the root of a binary tree, retu...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Longest Happy String

Description Longest Happy String A string s is called happy if it satisfies th...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Group Anagrams

Description Group Anagrams Given an array of strings strs, group theanagrams t...

技術 【LeetCode with C: A Series of Problem-Solving Techniques】-- Top K Frequent Elements

Description Top K Frequent Elements Given an integer array nums and an integer...

技術 DAY 30:Basic Calculator II 沒在排隊的LIFO堆疊!

☆(≧∀≦*)ノ嗨,我是wec,今天是DAY 30,最後一天嚕! 🔎 題目難度與描述 難度:MEDIUM 題目描述: 給定一個字符串表示的數學表達式,包含非負整...