All Medium Articles
Travelling Salesman Problem (TSP): Given a set of cities and distance between every pair of cities, the problem is to find the shortest possible route… Read More
With the help of Numpy matrix.choose() method, we can select the elements from a matrix by passing a parameter as an array which contain the… Read More
The join() function in p5.js is used to join the input array of strings into a single string using separator. This separator might be any… Read More
It is used for selecting elements in HTML and performing the action on those elements. Syntax: $(selector).action() $ sign: It grants access to jQuery. (selector):… Read More
Given n expressions of the type x = y and x != y where 1 ? x, y ? n, the task is to check… Read More
There is a different type of numbers: natural number, real number, whole number, integers, etc. Integers are the numbers -1, -2, -3, -4, 1, 2,… Read More
Intellectual property rights are the rights given to each and every person for the creation of new things according to their minds. IPR usually give… Read More
In cryptography, it is a very tedious task to distribute the public and private keys between sender and receiver. If the key is known to… Read More
Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Given three numbers, the task is to find the greatest of three numbers using Command Line Arguments. Examples: Input: A = 2, B = 8,… Read More
Frequency is the number of occurrences of an outcome in the given sample. It can be termed in two different ways. 1. Absolute Frequency: It… Read More
Given an array arr[] of size N. The task is to find the minimum number of changes required to convert the array such that for… Read More
Given a list of lists, write a Python program to remove sublists from the given list of lists that are present in another sublist.  Examples:… Read More
Let’s have a brief introduction about the Express framework before starting the code section:Express: It is an open-source NodeJs web application framework designed to develop… Read More
Round 1: Coding Round Given an array of integers and a number x, find the smallest subarray with a sum greater than the given value.… Read More
Given an array arr[] of integers and an integer K, the task is to find the maximum sum taking every Kth element i.e. sum =… Read More
Given string str. The task is to find the longest sub-string which is a prefix, a suffix, and a sub-string of the given string, str.… Read More
Given an array arr[] of N integers, the task is to sort the array using Shell-Metzner sort. Input: arr[] = {0, -2, 8, 5, 1} Output:… Read More
Prerequisite: Flex (Fast lexical Analyzer Generator) Given a string containing both vowels and consonants, write a LEX program to count the number of vowels and… Read More
Given a sorted array arr[] of integers and an integer k, the task is to find the count of elements in the array which are… Read More