All Medium Articles
Given a fibonacci number N, the task is to find the next fibonacci number.Examples:   Input: N = 5 Output: 8 8 is the next fibonacci number after… Read More
Given a string str consisting of digits, alphabets, and special characters. The task is to extract all the integers from the given string. Examples: Input:… Read More
CGI(COMMON GATEWAY INTERFACE) may be a set of standards that outline however data is changed from the online server, passing the online user’s request to… Read More
MATLAB stands for Matrix Laboratory. It is a high-performance language that is used for technical computing. It was developed by Cleve Molar of the company… Read More
Given Q queries where each query consists of an integer range [L, R], the task is to find the sum of the integers from the… Read More
Single Point Crossover in Genetic Algorithm is a form of crossover in which two-parent chromosome are selected and a random/given point is selected and the… Read More
Given an array of non-negative integers arr[], the task is to find a pair (n, r) such that nPr is the maximum possible and r… Read More
Given a string str and a string array arr[], the task is to find the minimum count of substrings this can be split into such… Read More
Given N lecture timings, with their start time and end time (both inclusive), the task is to find the minimum number of halls required to… Read More
Here a promise is a returned object from an asynchronous function, and callback methods can be added based on the previous function’s result. It is… Read More
Redirecting a page in HTML involves sending users to a different web page automatically or upon interaction. This is typically achieved using the anchor tag’s… Read More
CSS can be used to hide or display elements of the page. This can be used in a responsive website to show certain elements that… Read More
In this article, we are given two JavaScript array/array objects and the task is to compare the equality of both array objects. These are the… Read More
Destructuring Assignment is a JavaScript expression that allows to unpack values from arrays, or properties from objects, into distinct variables data can be extracted from… Read More
Every programmer has a dream they want to fulfill. Now that dream for you could be working at the top product-based companies in the world… Read More
Given an array arr[], the task is to finds the total significant inversion count for the array. Two elements arr[i] and arr[j] form a significant… Read More
In a Ruby class we may want to expose the instance variables (the variables that are defined prefixed by @ symbol) to other classes for… Read More
Given an array arr[], the task is to answer queries to find the maximum of all the elements in the index range arr[L…R].Examples:   Input: arr[]… Read More
Classifying handwritten digits is the basic problem of the machine learning and can be solved in many ways here we will implement them by using… Read More
Given an array arr[] of positive integers, the task is to find the minimum steps to reduce all the elements to 0. In a single… Read More