ProDeveloperTutorialonJanuary 18, 2025 Linked List: Program to Check if a Singly Linked List is Palindrome Problem Statement: You are given a linked list, you need to check if it is a palindrome or not Example B -> A -> C -> A -> B True…
ProDeveloperTutorialonJanuary 18, 2025 Linked List: Split circular Linked List into two halves Problem Statement: You are given an circular LL, you need to convert into 2 halves. Example Input: -> 1 -> 2 -> 3 -> 4 ^ | | _ _ _…
ProDeveloperTutorialonJanuary 18, 2025 Linked List: Find middle element in Linked List Problem Statement: You are given an single LL. You need to fing the middle element. Example Input : 1->2->3->4->5->6 Output : 4…
ProDeveloperTutorialonJanuary 18, 2025 Linked List: Add 1 to the linked list Problem Statement: You are given an linked list, you need to add one to it and return as result. Example Example 1: Input: 1 -> 9 -> 9…
ProDeveloperTutorialonJanuary 18, 2025 Linked List: Move last element to front of a given Linked List Problem Statement: You are given an LL, you need to move the last element to the first. Example Input: 1->2->3->4->5 Output:…
ProDeveloperTutorialonJanuary 18, 2025 Linked List: Remove duplicates from an unsorted linked list Problem Statement: You are given an un-sorted Linked List. You need to remove the duplicate nodes. Example Input: 2 -> 3 -> 3 -> 1…
ProDeveloperTutorialonJanuary 18, 2025 Linked List: Reverse Linked List in groups Problem Statement: You are given a linked list and an integer k, you need to reverse it group wise. Example Input: 1 -> 2 -> 3 -> 4…
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Factorial Trailing Zeroes Problem Statement: you are given an integer, you need to return the number of trailing zeros in n!. Example Input: n = 5 Output: 1 Because the…
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Find the missing number in Arithmetic Progression Problem Statement: You are given an array that has elements of arithmetic progression in order. One element is missing, you need to find that…
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: K-th Element of Two Sorted Arrays Problem Statement: You are given 2 arrays that are sorted. You need to find the k’th element if the two arrays are sorted and merged.…