All Medium Articles
Switch-case statements: These are a substitute for long if statements that compare a variable to several integral values The switch statement is a multiway branch… Read More
Given a number N. The task is to find the largest special prime which is less than or equal to N. A special prime is a… Read More
Given a positive integer N, check if it can be expressed as a sum of two semi-primes or not.Semi-primes A number is said to be… Read More
Introduction : A data warehouse is a centralized repository for storing and managing large amounts of data from various sources for analysis and reporting. It… Read More
Prerequisite: Constructors in C# It is quite similar to the Method Overloading. It is the ability to redefine a Constructor in more than one form.… Read More
Prerequisite: Create and Write on an excel sheet XlsxWriter is a Python library using which one can perform multiple operations on excel files like creating,… Read More
Given start and end of a range, write a Python program to print all positive numbers in given range.  Example: Input: start = -4, end… Read More
A solid, n-inch cube of wood is coated with blue paint on all six sides. Then the cube is cut into smaller one-inch cubes. These… Read More
Given a binary string, you can rotate any substring of this string. For Example, let string be denoted by s. Let the first element of… Read More
Given a N*N matrix. The task is to find the index of column with maximum sum. That is the column whose sum of elements are… Read More
Consider the subject Data Structures for which the total number of classes held till present date is , and some students attend only out of these classes.… Read More
Given a string S consisting of lowercase characters(a-z) only, the task is to print a new string by rearranging the string in such a way… Read More
ROUND 1: The first round was National Qualifier Test held across all over India The test consists of 4 sections. One has to score well… Read More
Program to implement Diffie-Hellman Algorithm in Client-Server Fashion. Prerequisite: Server Socket Programming, Diffie-Hellman algorithm The Diffie Hellman Algorithm is being used to establish a shared… Read More
We are given m*n matrix which can have a number between 0 and 7. Each number represents a pipe with a shape as follows:  Two… Read More
Design a data structure for LRU Cache. It should support the following operations: get and set. get(key) – Get the value (will always be positive)… Read More
Google Authentication and Fetching mails from scratch mean without using any module which has already set up this authentication process. We’ll be using Google API… Read More
Given a boolean 2D matrix. The task is to find the number of distinct islands where a group of connected 1s (horizontally or vertically) forms… Read More
I was part of a recruitment drive in Ola’s headquarters in Bangalore. The first row was a Hackerrank test which consisted of a DS question,… Read More
Given a bracket sequence of even length. The task is to find how many ways are there to make balanced bracket subsequences from the given… Read More