gfg-potd

Single Number

gfg-potd

Given an array arr[] of positive integers where every element appears even times except for one. Find that number occurring an odd

Split the Array

gfg-potd

Given an array arr[] of integers, the task is to count the number of ways to split given array elements into two

Two Swaps

gfg-potd

Given a permutation of some of the first natural numbers in an array arr[], determine if the array can be sorted

Delete Alternate Nodes

gfg-potd

Given a Singly Linked List, Delete all alternate nodes of the list ie delete all the nodes present in even positions. Examples

Scroll to Top