All Medium Articles
Given a list, the task is to write a python program that can construct n*m matrix. Input : test_list = [6, 3, 7, 2, 6,… Read More
Given a Matrix, the task is to write a python program to reverse every Kth row. Where K is some span value. Input : test_list… Read More
Given a string list, the task is to write a Python program to extract Strings that form the longest increasing alphabetic order at the Kth… Read More
In this article, we will learn how to change the shape of tensors using the PyTorch view function. We will also look at the multiple… Read More
Given an array arr[] consisting of N pairs and a positive integer K, the task is to select the minimum number of pairs such that… Read More
Given an array arr[] consisting of N integers, the task is to make all array elements equal by replacing the leftmost largest element of the… Read More
Given an array arr[] consisting of N positive integers, the task is to find the product of the maximum of all possible subsets of the… Read More
Given an array arr[] consisting of N positive integers, the task is to minimize the number of operations required to minimize the absolute difference between… Read More
Given a Binary Tree consisting of N nodes, the task is to find the maximum width of the given tree where the maximum width is… Read More
Given an array arr[] of size N, the task is to calculate, for i(0<=i<N), the maximum length of a subarray containing arr[i], where arr[i] is… Read More
Prerequisite: Graphics.h, include graphics.h in CodeBlocks Required header files: #include <stdio.h>#include <conio.h>#include <graphics.h>#include <dos.h>#include <math.h> Functions used: getmaxx(): It returns the maximum X coordinate for… Read More
As there is an old saying that “Prevention is Better than to Cure Something”. So Inspired by this saying we multiplexed 3 problem statements and… Read More
Processing is Open Source Software that is used for the electronic arts and visual design communities. We can create different types of art using our… Read More
PostgreSQL is a powerful, open-source object-relational database system that aimed to help developers build applications, administrators to protect data integrity and build fault-tolerant environments. It… Read More
Given a sorted array arr[] of size N, the task is to print all the unique elements in the array. An array element is said… Read More
Given an array arr[] consisting of N positive integers, the task is to find the maximum number of times each array element can either be… Read More
Correlation basically means a mutual connection between two or more sets of data. In statistics, bivariate data or two random variables are used to find… Read More
Electric charge is the fundamental property of matter. Various properties are explained by the electric charges. So it is very important to note the unit… Read More
Graphics are defined as any sketch or a drawing or a special network that pictorially represents some meaningful information. Computer Graphics is used where a… Read More
There are two types of links, i.e., a soft link and a hard link to a file. C library has a function link() that creates… Read More