gfg-potd

Overlapping Intervals

gfg-potd

Given an arrayof Intervals arr[][], where arr[i] = [starti, endi]. The task is to merge all of the overlapping Intervals. Examples: Input: arr[][] = […]

Count Inversions

gfg-potd

Given an array of integers arr[]. Find the Inversion Count in the array.Two elements arr[i] and arr[j] form an inversion if arr[i] > arr[j] and i

Find H-Index

gfg-potd

Given an integer array citations[], where citations[i] is the number of citations a researcher received for the ith paper. The task is to find the H-index. H-Index is

Non Repeating Character

gfg-potd

Given a string s consisting of lowercase Latin Letters. Return the first non-repeating character in s. If there is no non-repeating character, return ‘$’.Note:When you return

Anagram

gfg-potd

Given two strings s1 and s2 consisting of lowercase characters. The task is to check whether two given strings are an anagram of each

Add Binary Strings

gfg-potd

Given two binary strings s1 and s2 consisting of only 0s and 1s. Find the resultant string after adding the two Binary Strings.Note: The input

Implement Atoi

gfg-potd

Given a string s, the objective is to convert it into integer format without utilizing any built-in functions. Refer the

Max Circular Subarray Sum

gfg-potd

Given an array of integers arr[] in a circular fashion. Find the maximum subarray sum that we can get if we assume the array to be circular.

Scroll to Top