Author name: Admin

Quick Sort on Linked List

gfg-potd

You are given a Linked List. Sort the given Linked List using quicksort.  Examples: Input: Linked list: 1->6->2Output: 1->2->6Explanation:After sorting the […]

Triplet Family

gfg-potd

Given an array arr of integers. Find whether three numbers are such that the sum of two elements equals the third element.

Alternative Sorting

gfg-potd

Given an array arr of distinct integers. Rearrange the array in such a way that the first element is the largest and the second

Modify the Array

gfg-potd

Given an array arr. Return the modified array in such a way that if the current and next numbers are valid numbers and

Scroll to Top