All Stories

Minimum Remove to Make Valid Parentheses

Stack is another important data structure. The parentheses validity check is a classic question that can be solved using a stack. It’s by pushing the opening parentheses to stack and...

Cycle Detection in a Linked List

Today we are going to solve a very interesting concept in linked lists that is cycle detection. There is a cycle in a linked list if there is some node...

Flatten a Multilevel Doubly Linked List

We have already familiarised ourselves with linked lists and today we’ll try to solve another linked list problem.

Reverse A Portion of The Linked List

The linked list is another interesting data structure in Computer Science. They are similar to arrays but instead of storing data in consecutive memory locations in a linked list the...

Almost Valid Palindrome Problem

Palindrome check problems are very common in the Strings section of the interview process. This question is a modified version of the palindrome check on a string.

Longest Substring Without Repeating Characters

Today, I’m going to try to solve another string problem which is a medium complex problem from LeetCode. The Problem