Author name: Admin

Maximum Difference

gfg-potd

Given an integer array arr of integers, the task is to find the maximum absolute difference between the nearest left smaller element and the nearest right

Wildcard Pattern Matching

gfg-potd

Given two strings pattern and str which may be of different size, You have to return 1 if the wildcard pattern i.e. pattern, matches with str else return 0. All characters of

Number of pairs

gfg-potd

Given two positive integer arrays arr and brr, find the number of pairs such that xy > yx (raised to power of) where x is an element from arr and y is an

Alien Dictionary

gfg-potd

Given a sorted dictionary of an alien language having N words and k starting alphabets of standard dictionary. Find the order

Scroll to Top