LC. 143 Reorder List๐: https://leetcode.com/problems/reorder-list/ Problem Statement Given the head of a singly linked list, reorder the list in the following pattern: L0 โ Ln โ L1 โ Ln-1 โ L2 โ Ln-2 ... You are not alJul 11 ยท 6 min readsimranbali-dsa.hashnode.dev
LC. 234 Palindrome Linked ListProblem Statement Given the head of a singly linked list, return true if the linked list is a palindrome, otherwise return false. A palindrome is a sequence that reads the same from both the beginning1Jul 10 ยท 7 min readsimranbali-dsa.hashnode.dev
LC. 206 Reverse a Linked List๐: Reverse Linked List - LeetCode Problem Statement Given the head of a singly linked list, reverse the linked list and return the new head. Example Input: 1 -> 2 -> 3 -> 4 -> 5 Output: 5 -> 4 -> 3 2Jul 9 ยท 6 min readsimranbali-dsa.hashnode.dev
LC 2095. Delete Middle Node of Linked List (Medium๐: Delete the Middle Node of a Linked List - LeetCode Problem Statement You are given the head of a linked list. Delete the middle node and return the head of the modified linked list. The middle no31YJun 22 ยท 5 min readsimranbali-dsa.hashnode.dev
Kth Node from MiddleProblem Statement Given an integer B and a linked list A of length N. From the middle of the Linked List towards the beginning, we have to determine the value of the Bth node. Return -1 if such an ele2Jun 21 ยท 5 min readsimranbali-dsa.hashnode.dev