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

JavaScript Snippets (Part I)

Hello fellow devs 👋! This post contains the common and most frequently used JavaScript snippets. I am sure like me you have also found yourself in a situation where you are googling the most trivial …

LeetCode #21 - Merge Two Sorted Lists

Hello fellow devs 👋! It’s time to solve a new LeetCode problem. Merge Two Sorted Lists Problem Statement Merge two sorted linked lists and return it as a new sorted list. The new list should be made …

LeetCode #20 - Valid Parentheses

Hello fellow devs 👋! It’s a brand-new day and it’s time to solve another problem from LeetCode. Valid Parentheses Problem Statement Given a string containing just the characters , , , , and , deter…

LeetCode #19 - Remove Nth Node From End Of List

Hello LeetCode enthusiasts 👋! It’s time to look the nineteenth problem from LeetCode. Remove Nth Node From End Of List Problem Statement Given the head of a linked list, remove the nth node from the …

LeetCode #18 - 4 Sum

Hello happy people 👋! It’s time for another LeetCode problem. 4 Sum Problem Statement Given an array of integers and an integer , are there elements , , , and in such that ? Find all unique quad…

LeetCode #17 - Letter Combinations Of A Phone Number

Hello fellow devs 👋! Today we are going to discuss a popular problem which is asked by many tech giants in coding interviews. Letter Combinations Of A Phone Number Problem Statement Given a string co…

LeetCode #16 - 3 Sum Closest

Hello fellow devs 👋! Let’s look at a problem which is an extension of the last problem 3 Sum we solved. 3 Sum Closest. Problem Statement Given an array of n integers and an integer , find three inte…

LeetCode #15 - 3 Sum

Hello fellow LeetCode enthusiasts 👋! Today we are going to discuss one of the popular problems on LeetCode. 3 Sum Problem Statement Given an array of n integers, are there elements , , in such tha…

LeetCode #14 - Longest Common Prefix

Hello fellow devs 👋! Today we will discuss another LeetCode problem. Longest Common Prefix Problem Statement Write a function to find the longest common prefix string amongst an array of strings. If …

LeetCode #13 - Roman To Integer

Howdy happy people 👋! In the last problem we solved, we had to convert the given Integer into its Roman equivalent. In this problem, we are going to do just opposite i.e, we will convert given Roman …