Tag Archive For "medium"
Valid Parenthesis String Leetcode Problem 678 [Python Solution]
The problem at hand is to determine whether a given string, s, containing only three types of characters – ‘(‘, ‘)’, and ‘*’, is a valid parenthesis string.
Validate Binary Search Tree Leetcode Problem 98 [Python Solution]
Validate Binary Search Tree Leetcode: Learn how to check if a binary tree is a valid BST according to specific rules in this informative post.
Walls And Gates Leetcode Problem 286 [Python Solution]
Master Walls and Gates on LeetCode: Calculate room distances to gates, transforming empty spaces. Dive in now!
Wiggle Sort Leetcode Problem 280 [Python Solution]
With Wiggle Sort, given an unsorted array of numbers, you need to reorder it in-place so that a set of predefined condition holds.
Word Break Leetcode Problem 139 [Python Solution]
Today, we’re diving into the Word Break problem, a fascinating challenge involving strings and dictionaries.
Word Search Leetcode Problem 79 [Python Solution]
In this blog post, we will dive into the Word Search problem, specifically Word Search LeetCode Problem 79. This is a medium difficulty problem falling under the category of Backtracking and has been featured in interviews by companies like Facebook. We’ll explore the problem statement, constraints, and provide an efficient Python solution. Problem Overview The …
Time Based Key Value Store LeetCode Solution [Python]
Time Based Key Value Store LeetCode problem tasks to create a data structure to store and retrieve key-value pairs with timestamps efficiently.
Search in Rotated Sorted Array LeetCode Solution
Search In Rotated Sorted Array LeetCode is a great example of a binary search type problem, and we’ll break it down step by step for beginners.
Search a 2D Matrix LeetCode Solution [Python]
Search a 2D Matrix Leetcode problem presents an interesting challenge, and the solution relies on a clever application of binary search.
Min Stack LeetCode Solution to Problem 155 [Python]
An efficient Python solution to Min Stack LeetCode solution to the problem #155 on the LeetCode platform, plus similar interview questions to it.
Longest Consecutive Sequence LeetCode 128 [Python Solution]
The Longest Consecutive Sequence LeetCode problem is a classic, often asked by top tech companies during interviews, including Google.
Koko Eating Bananas LeetCode Solution 875 [Python]
Koko Eating Bananas LeetCode solution to the problem of determining the minimum eating speed to consume all the bananas within a time frame
Find Minimum In Rotated Sorted Array LeetCode Solution [Python]
Find Minimum In Rotated Sorted Array: In this post, we’ll tackle the problem of finding the minimum element in a rotated sorted array.
Evaluate Reverse Polish Notation LeetCode [Python Solution]
Evaluate Reverse Polish Notation LeetCode problem, a mouthful term for a method of computing core arithmetic expressions +, -, * and / with a twist
Encode and Decode Strings LeetCode Problem 271 [Python Solution]
Encode and Decode Strings LeetCode Problem’s task is to design an algorithm that can encode a list of strings into a single string