# Category Archives: Algorithms

Given a 2D array, sort each row of this array and print the result.Examples:  Input: 77 11 22 3 11 89 1 12 32 11… Read More
What is Time Complexity? Time Complexity is the amount of time taken by the algorithm to run. It measures the time taken to execute each… Read More
Given some International Tracking Of Exports data, the task is to check if they are valid or not using regular expressions. Rules for the valid… Read More
Given the number N, count the number of ways to create a binary string (the string that contains characters as zero or one) of size… Read More
Given an array arr[] of size N, the task is to find the maximum sum of a subset of the array such that the sum… Read More
Given an array arr[] of size N consisting only of 0s and 1s, the task is to find the minimum number of operations required to… Read More
Given an array arr[] of size N, where each value represents the number of elements present of the ith type, the task is to find… Read More
Given some Traditional Date Time Formats, the task is to check if they are valid or not using regular expressions. Rules for the valid format… Read More
Given an array arr[] of size N having positive elements, the task is to find the minimum number of deletion or append operations to make… Read More
Given an array arr[] of positive integers of size N, the task is to find the minimum possible size of the array that can be… Read More
Given an undirected graph with N nodes (numbered from 0 to N-1) such that any node can be reached from any other node and there… Read More
Given some  US Currencies, the task is to check if they are valid or not using regular expressions. Rules for the valid Currency are: It… Read More
What is Sorting? Arranging data in an increasing or decreasing fashion according to their values is called Sorting.  Below are shown some processes for sorting… Read More
What is Bingo Sort? This Sorting Technique is similar to the Selection Sort in which we first find the smallest element called Bingo Element, and… Read More
What is Recursion? In simple words, recursion is when a function is calling itself directly or indirectly.  It is used to break down the problem… Read More