Mirror Tree

gfg-potd

Given a Binary Tree, convert it into its mirror.             Examples: Input: 1   / \   2 3 Output: 3

Minimum Cost Of Ropes

gfg-potd

Given an array arr containing the lengths of the different ropes, we need to connect these ropes to form one rope. The cost to

Circle Of Strings

gfg-potd

Given an array arr of lowercase strings, determine if the strings can be chained together to form a circle.A string X can be chained

Sort 0s, 1s and 2s

gfg-potd

Given an array arr containing only 0s, 1s, and 2s. Sort the array in ascending order. Examples: Input: arr[]= [0, 2, 1, 2, 0]

Scroll to Top