Prática para entrevistas
Soluções do LeetCode
Soluções de problemas do LeetCode, com o código-fonte completo. Pesquise pelo nome ou pelo número do problema.
- Problemas
- 103
Problemas
103 problemas
- #1Two Sum
- #9Palindrome Number
- #11Container With Most Water
- #14Longest Common Prefix
- #27Remove Element
- #28Find the Index of the First Occurrence in a String
- #67Add Binary
- #75Sort Colors
- #83Remove Duplicates from Sorted List
- #88Merge Sorted Array
- #104Maximum Depth of Binary Tree
- #108Convert Sorted Array to Binary Search Tree
- #125Valid Palindrome
- #136Single Number
- #141Linked List Cycle
- #162Find Peak Element
- #169Majority Element
- #190Reverse Bits
- #191Number of 1 Bits
- #195Tenth Line
- #199Binary Tree Right Side View
- #206Reverse Linked List
- #215Kth Largest Element in an Array
- #225Implement Stack using Queues
- #232Implement Queue using Stacks
- #242Valid Anagram
- #257Binary Tree Paths
- #283Move Zeroes
- #338Counting Bits
- #344Reverse String
- #371Sum of Two Integers
- #374Guess Number Higher Or Lower
- #383Ransom Note
- #387First Unique Character in a String
- #392Is Subsequence
- #405Convert a Number To Hexadecimal
- #412Fizz Buzz
- #415Add Strings
- #496Next Greater Element I
- #500Keyboard Row
- #557Reverse Words in a String III
- #643Maximum Average Subarray I
- #653Two Sum IV - Input is a BST
- #680Valid Palindrome II
- #682Baseball Game
- #724Find Pivot Index
- #762Prime Number of Set Bits In Binary Representation
- #771Jewels and Stones
- #783Minimum Distance Between BST Nodes
- #844Backspace String Compare
- #872Leaf-Similar Trees
- #897Increasing Order Search Tree
- #933Number of Recent Calls
- #938Range Sum of BST
- #1009Complement of Base 10 Integer
- #1207Unique Number of Occurrences
- #1365How Many Numbers Are Smaller Than the Current Number
- #1431Kids With the Greatest Number of Candies
- #1476Subrectangle Queries
- #1480Running Sum of 1d Array
- #1544Make The String Great
- #1598Crawler Log Folder
- #1614Maximum Nesting Depth of the Parentheses
- #1652Defuse the Bomb
- #1684Count the Number of Consistent Strings
- #1732Find the Highest Altitude
- #1920Build Array from Permutation
- #1929Concatenation of Array
- #2011Final Value of Variable After Performing Operations
- #2055Plates Between Candles
- #2073Time Needed to Buy Tickets
- #2220Minimum Bit Flips To Convert Number
- #2235Add Two Integers
- #2300Successful Pairs of Spells And Potions
- #2390Removing Stars From a String
- #2418Sort the People
- #2433Find The Original Array of Prefix Xor
- #2469Convert the Temperature
- #2703Return Length of Arguments Passed
- #2932Maximum Strong Pair XOR I
- #2942Find Words Containing Character
- #2974Minimum Number Game
- #3110Score of a String
- #3146Permutation Difference Between Two Strings
- #3158Find the Xor of Numbers Which Appear Twice
- #3174Clear Digits
- #3190Find Minimum Operations To Make All Elements Divisible By Three
- #3270Find the Key of the Numbers
- #3289The Two Sneaky Numbers of Digitville
- —Climbing Stairs
- —Isomorphic Strings
- —Jump Game
- —Longest Palindrome
- —Number Of Good Pairs
- —Plus One
- —Reverse Prefix Of Word
- —Reverse Vowels Of A String
- —Rotate Image
- —Search In A Binary Search Tree
- —Search Insert Position
- —Shuffle The Array
- —Valid Parentheses
- —Word Pattern