## Minimum minutes needed to make the time palindromic

Given a string str which stores the time in the 24 hours fomat as “HH:MM”. The task is to find the minimum minutes needs to… Read More »

- Must do Math for Competitive Programming
- Array of Vectors in C++ STL
- Breadth First Search without using Queue
- Minimize the maximum difference between adjacent elements in an array
- Shortest Path Faster Algorithm
- Basic Algorithm Techniques Not Taught in Academics
- Print all possible combinations of the string by replacing '$' with any other digit from the string
- Role of SemiColon in various Programming Languages
- Check if a string is a scrambled form of another string
- Word Break Problem | DP-32 | Set - 2
- Median of an unsorted array using Quick Select Algorithm
- Count the number of ways to construct the target string
- Sum of GCD of all possible sequences
- Maximum number of unique values in the array after performing given operations
- Extended Knapsack Problem
- Kth most frequent Character in a given String
- Count of substrings of length K with exactly K distinct characters
- Maximum LCM among all pairs (i, j) from the given Array
- Longest common subarray in the given two arrays
- Count of subarrays which start and end with the same element
- Huffman Coding using Priority Queue
- 0/1 Knapsack Problem to print all possible solutions
- Find if there is a path between two vertices in an undirected graph
- Find lexicographically smallest string in at most one swaps
- Finding Median of unsorted Array in linear time using C++ STL
- Flood Fill Algorithm
- What is a Webcrawler and where is it used?
- Operator Overloading '<<' and '>>' operator in a linked list class
- Shortest path in a directed graph by Dijkstra’s algorithm
- Why Prim’s and Kruskal's MST algorithm fails for Directed Graph?

Given a string str which stores the time in the 24 hours fomat as “HH:MM”. The task is to find the minimum minutes needs to… Read More »

Given a string S that consists of letters such that their ASCII values follow an Arithmetic Progression. The task is to find the letter and… Read More »

Given an array prices[] which denotes the prices of the stocks on different days, the task is to find the maximum profit possible for buying… Read More »

Given a string str, the task is to convert the given string into the number without using any inbuilt function. Examples: Input: str = “985632”… Read More »

Given an array arr[] of positive integers, the task is to find the permutation of the array such that sum of adjacent elements is not… Read More »

Given four integers N, R, X, and Y such that it represents a circle of radius R with [X, Y] as coordinates of the center.… Read More »

Given an array arr[] and K subarrays in the form (Li, Ri), the task is to find the maximum possible value of . It is… Read More »

Given a sorted array arr[] and an integer K, the task is to check if there exists a ceil of number K divided by some… Read More »

Given a number N, the task is to count the number of unique digits in the given number. Examples: Input: N = 22342 Output: 2 Explanation:The digits… Read More »

Given N items of type-1 and M items of type-2. An object can be created from 2 items of type-1 and 1 item of type-2… Read More »

Given an integer K and an array arr[] which denotes the amount that can be stolen, the task is to choose a subset of items… Read More »

Given an array arr[] of N positive integers, the task is to print the length of the longest subsequence of the array such that all… Read More »

Given three integers a, b and c representing a linear equation of the form: ax + by = c. The task is to find the… Read More »

Given an array arr[], the task is to find the maximum score of deleting an element where each element of the array can be deleted… Read More »

Given an integer N, the task is to count the numbers up to N having an absolute difference of at most K between any two… Read More »