Red Quark

Created and maintained by@Anirudh Sharma
I love to learn and share. Hence, this site has no ads, no affiliation links, or any BS. If you like what you see, give me a thumbs up.

GitHub iconMedium iconTwitter iconFacebook iconLinkedIn iconStackoverflow icon

LeetCode #33 - Search In Rotated Sorted Array

Hello LeetCode enthusiasts 👋! Today we will be discussing a new array problem. Search In Rotated Sorted Array Problem Statement There is an integer array sorted in ascending order (with distinct val…

LeetCode #32 - Longest Valid Parentheses

Hello fellow devs 👋! Today we have a hard LeetCode problem to solve (It’s not that hard by the way 😃). Longest Valid Parentheses Problem Statement Given a string containing just the characters and ,…

LeetCode #31 - Next Permutation

Hello fellow devs 👋! It’s been a long time since I wrote a post on LeetCode problems. But no worries, today will discuss the next problem. Next Permutation Problem Statement Implement next permutatio…

Asymptotic Notations

Heya fellow devs 👋! Welcome to the another post on analysis of algorithms. In the last post, we discussed how we can analyze the time and space used by a program. In this post, we will dig deeper int…

LeetCode #30 - Substring With Concatenation Of All Words

Hello fellow devs 👋! Today we will discuss a hard problem which is very popular problems in coding interviews. Substring With Concatenation Of All Words Problem Statement You are given a string and …

LeetCode #29 - Divide Two Integers

Hello fellow devs 👋! It’s a new day, and we have a new LeetCode problem in front of us. Divide Two Integers Problem Statement Given two integers and , divide two integers without using multiplicatio…

LeetCode #28 - Implement StrStr

Hello fellow devs 👋! We have a new LeetCode problem today involving string. Implement StrStr Problem Statement Return the index of the first occurrence of in , or -1 if is not part of . Clarificati…

LeetCode #27 - Remove Element

Hello fellow devs 👋! Today we will be looking into a fairly simple LeetCode problem. Remove Element Problem Statement Given an array and a value , remove all instances of that value in-place and ret…

LeetCode #26 - Remove Duplicates In Sorted Array

Hello happy people 👋! Let’s look at another LeetCode problem today. Remove Duplicates From Sorted Array Problem Statement Given a sorted array , remove the duplicates in-place such that each element …

LeetCode #25 - Reverse Nodes In K Group

Hello LeetCode enthusiasts 👋! Today’s problem is an extension of the previous problem. Reverse Nodes In K Group Problem Statement Given a linked list, reverse the nodes of a linked list at a time an…