All Medium Articles
Given N candies and K people. In the first turn, the first person gets 1 candy, the second gets 2 candies, and so on till… Read More
Given a binary matrix of size NxN where 1 denotes that the number i can be converted to j, and 0 denotes it cannot be… Read More
Given a integer k and a string str, the task is to count the number of distinct sub-strings such that each sub-string does not contain… Read More
Linear Regression is a supervised learning algorithm used for computing linear relationships between input (X) and output (Y). The steps involved in ordinary linear regression… Read More
Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages… Read More
Given a string of consecutive digits and a number Y, the task is to find the number of minimum sets such that every set follows… Read More
Given a number X, the task is to find the minimum number N such that the total set bits of all numbers from 1 to… Read More
Else without IF This error is shown if we write anything in between if and else clause. Example:  C #include <stdio.h> void main(){    int a;     if (a ==… Read More
Given an integer K and a non-negative array arr[], the task is to find the number of sub-sequences having the product ? K. This problem already… Read More
Introduction  Hibernate Query Language (HQL) is an easy to learn and powerful query language designed as an object-oriented extension to SQL that bridges the gap… Read More
Given a string with duplicate characters allowed, print first n permutations of given string such that no permutation is repeated. Examples: Input : string =… Read More
Given a Binary tree and number of nodes in the tree, the task is to find the number of pairs violating the BST property. Binary… Read More
A Smart Contract (or cryptocontract) is a computer program that directly and automatically controls the transfer of digital assets between the parties under certain conditions.… Read More
Prerequisites – Blockchain Technology Introduction, How Blockchain technology works, Introduction to Blockchain  The decentralized nature of public blockchains (for example, Bitcoin and Ethereum) means that… Read More
Given some mixed data containing multiple values as a string, let’s see how can we divide the strings using regex and make multiple columns in… Read More
Mapping external values to a dataframe means using different sets of values to add to that dataframe by keeping the keys of the external dictionary… Read More
TextBlob module is used for building programs for text analysis. One of the more powerful aspects of the TextBlob module is the Part of Speech… Read More
Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with… Read More
The font-size property in CSS is used to set the font size of text in HTML document. Syntax:   font-size: medium|xx-small|x-small|small|large|x-large |xx-large|smaller|larger|length|initial|inherit; Default Value: medium Property… Read More
The all property in CSS is the shorthand property that is used to set all the element’s values to their initial or inherited values or… Read More