All Medium Articles
Given a string, count how many maximum-length palindromes are present. (It need not be a substring)  Examples:  Input : str = "ababa" Output: 2 Explanation… Read More
Given an array and a number k, find the largest sum of contiguous array in the modified array which is formed by repeating the given… Read More
Write a program to print all the combinations of factors of given number n. Examples:  Input : 16 Output :2 2 2 2 2 2… Read More
Evive Software Analytics visited our campus. Round 1: This was an online test. The test consisted of 17 descriptive questions on probability, permutations and combinations,… Read More
Below is the example of the Math random() Method. Example: For getting a random number between 0(inclusive) and 1(exclusive). <script type="text/javascript">     var random = Math.random(… Read More
Prerequisite : Sets in Python Given three arrays, we have to find common elements in three sorted lists using sets. Examples : Input : ar1… Read More
Given two integers N and D, Find a set of N integers such that difference between their product and sum is equal to D.Examples :  … Read More
Newspapers and magazines often have crypt-arithmetic puzzles of the form: Examples: Input : s1 = SEND, s2 = "MORE", s3 = "MONEY" Output : One… Read More
In this article, a basic technique for object segmentation called Thresholding. But before moving into anymore detail, below is a brief overview of OpenCV. OpenCV… Read More
Sahil and Ritik are brothers. One day they were discussing who is smarter. But gradually the discussion turned into an argument. Mother came and tried… Read More
Given 2n counters where n > 1. You have to place these 2n counters on an n × n board so that no more than… Read More
Sahil and Amrit are friends. One day Amrit comes to Sahil’s home to take him outside so that they can play together. But Sahil denies… Read More
Prerequisite – Process Synchronization, Monitors, Readers-Writers Problem Considering a shared Database our objectives are: Readers can access database only when there are no writers. Writers… Read More
Given two strings ‘a’ and ‘b’ and a number k, our aim is to merge the strings into a string s such that it contains… Read More
Prerequisite – Block Coding, Line Coding A computer network is designed to send information from one point to another. Data that we send can either… Read More
Given two numbers, fact and n, find the largest power of n that divides fact! (Factorial of fact). Examples:  Input : fact = 5, n… Read More
Write a program to print first n non-square number (non perfect square) . Examples :  Input : 5 Output : 2 3 5 6 7… Read More
Call decimal number a monotone if: . Write a program which takes positive number n on input and returns number of decimal numbers of length n… Read More
Given a number, the task is to toggle bits of the number except the first and the last bit.Examples:   Input : 10 Output : 12… Read More
Given a doubly linked list containing n nodes. The problem is to reverse every group of k nodes in the list. Examples:   Recommended: Please try… Read More