Overlapping Intervals
Given an arrayof Intervals arr[][], where arr[i] = [starti, endi]. The task is to merge all of the overlapping Intervals. Examples: Input: arr[][] = […]
Given an arrayof Intervals arr[][], where arr[i] = [starti, endi]. The task is to merge all of the overlapping Intervals. Examples: Input: arr[][] = […]
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
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
You are given two strings of equal lengths, s1 and s2. The task is to check if s2 is a rotated version of the string s1. Note: The
Given a string s,the task is to find the minimum characters to be added at the front to make the string
Given two strings, one is a text string txt and the other is a pattern string pat. The task is to print the
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
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
Given a string s, the objective is to convert it into integer format without utilizing any built-in functions. Refer the
You are given an integer array arr[]. Your task is to find the smallest positive number missing from the array. Note: Positive number
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.