- 143
- 10 484
ThinkOutsideTheBox
Приєднався 22 бер 2021
Відео
Count Servers that Communicate - Leetcode 1267
Переглядів 1089 годин тому
Count Servers that Communicate - Leetcode 1267
First Completely Painted Row or Column - Leetcode 2661
Переглядів 4616 годин тому
First Completely Painted Row or Column - Leetcode 2661
Minimum Cost to Make at Least One Valid Path in a Grid - Leetcode 1368
Переглядів 9619 годин тому
Hey everyone, didn't really specify why we use 0-1 BFS over Dijkstra's Algorithm here, let me explain! So basically, lets first discuss what even 0-1 BFS even is and then why it is better to use in this problem! So, ahat is 0-1 BFS? 0-1 BFS is a special variant of the standard Breadth-First Search (BFS) algorithm that is used to find the shortest path in a graph where the edges have only two po...
Bitwise XOR of All Pairings - Leetcode 2425
Переглядів 21День тому
Hey everybody, sorry about me kind of rushing the video, I wanted to fully explain why we actually care about whether the length of the arrays are even or odd. So basically, he reason the length of the arrays matters in this problem is due to the properties of the XOR operation and how they relate to whether the elements in the arrays should "contribute" to the result. Here’s why the length of ...
Find the Prefix Common Array of Two Arrays - Leetcode 2657
Переглядів 27День тому
Find the Prefix Common Array of Two Arrays - Leetcode 2657
Check if a Parentheses String Can Be Valid - Leetcode 2116
Переглядів 4114 днів тому
Check if a Parentheses String Can Be Valid - Leetcode 2116
Construct K Palindrome Strings - Leetcode 1400
Переглядів 4314 днів тому
Construct K Palindrome Strings - Leetcode 1400
Counting Words With a Given Prefix - Leetcode 2185
Переглядів 6914 днів тому
Counting Words With a Given Prefix - Leetcode 2185
Minimum Number of Operations to Move All Balls to Each Box - Leetcode 1769
Переглядів 4121 день тому
Minimum Number of Operations to Move All Balls to Each Box - Leetcode 1769
Unique Length 3 Palindromic Subsequences - Leetcode
Переглядів 3521 день тому
Unique Length 3 Palindromic Subsequences - Leetcode
Number of Ways to Split Array - Leetcode
Переглядів 4421 день тому
Number of Ways to Split Array - Leetcode
Maximum Score After Splitting a String
Переглядів 9621 день тому
Maximum Score After Splitting a String
Count Ways to Build Good Strings - Leetcode 2466
Переглядів 7928 днів тому
Count Ways to Build Good Strings - Leetcode 2466
Number of Ways to Form a Target String Given a Dictionary
Переглядів 11628 днів тому
Number of Ways to Form a Target String Given a Dictionary
Search in Rotated Sorted Array - Leetcode
Переглядів 37Місяць тому
Search in Rotated Sorted Array - Leetcode
Reverse Odd Levels of Binary Tree - Leetcode
Переглядів 75Місяць тому
Reverse Odd Levels of Binary Tree - Leetcode
Final Prices With a Special Discount in a Shop - Leetcode
Переглядів 88Місяць тому
Final Prices With a Special Discount in a Shop - Leetcode
Take Gifts From the Richest Pile - Leetcode
Переглядів 24Місяць тому
Take Gifts From the Richest Pile - Leetcode
Find Longest Special Substring That Occurs Thrice I - Leetcode
Переглядів 59Місяць тому
Find Longest Special Substring That Occurs Thrice I - Leetcode