All Medium Articles
Given an array arr[] of N elements (0 ? arr[i] ? 1000). The task is to find the maximum length of the sub-array that contains… Read More
Given an array arr[] of N elements and an integer K where K < N. The task is to insert K integer elements to the… Read More
As we already know about polymorphism and method overriding in C#. C# also provides a concept to hide the methods of the base class from… Read More
In Python, math module contains a number of mathematical operations, which can be performed with ease using the module. math.sin() function returns the sine of… Read More
In Python, math module contains a number of mathematical operations, which can be performed with ease using the module. math.cos() function returns the cosine of… Read More
Round 1: Online Exam Exam having 60 question in total having 3 section each having 20 questions.30 minutes for each section. The marking scheme is… Read More
Round 1: 1) Given list of numbers which are sorted and have duplicates . find first occurrence of a number such that A[i] = i… Read More
The Fibonacci numbers are the numbers in the following integer sequence. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ……..… Read More
Given a tree having every node’s value as either 0 or 1, the task is to find whether the given binary tree contains any sub-tree… Read More
Given an array arr[] and an integer K. The task is to sort the elements that are in between any two multiples of K. Examples: … Read More
Given a tree having every node’s value as either 0 or 1, the task is to find the maximum size of the sub-tree in the… Read More
Given a string str which represents the ASCII (American Standard Code for Information Interchange) Sentence, the task is to convert this string into its equivalent… Read More
Being familiar with the concept of queue, which follows the FIFO rule, i.e first in first out, that suggests a front removal and rear insertion.… Read More
The software is an instruction or computer program that when executed provides desired features, function, and performance. A data structure that enables the program to… Read More
k-Nearest Neighbors: k-NN is one of the most basic classification algorithms in machine learning. It belongs to the supervised learning category of machine learning. k-NN… Read More
Geek on the top is all about success stories of Geeks who are working hard to chase their goals and are an inspiration for other… Read More
Given three arrays A[], B[], and C[] of N integers. We can choose N elements from this array such that for every index i only… Read More
Given an integer K and an array arr[], the task is to count all the sub-arrays whose product is divisible by K.Examples:   Input: arr[] =… Read More
Any time you use an *f function, whether it be printf, scanf, or their derivatives (fprintf, fscanf, etc…), you are doing more things than you… Read More
Given an array arr[] of n positive integers. The task is to find elements arr[i] and arr[j] from the array such that arr[i]Carr[j] is maximum… Read More