Category: Competitive Programming

How to Become an RPA Developer?

With robotics technology moving rapidly ahead of itself, it has become very important for developers to meet software needs. The hardware mechanics have become very advanced over time and are being upgraded at a regular interval. But these hardware systems cannot run on themselves. They require software to control them and process the operation they […]

Continue Reading

Essential Maths for Competitive Programming Course By GeeksforGeeks

When we talk about Competitive Programming, we can’t ignore the significance of Mathematics here. Yes, it is true that one can get started with competitive programming without any mathematical background, but it is also an unbeatable fact that having good command over several specific mathematical concepts gives you the much-needed advantage over others while solving […]

Continue Reading

Counting inversions in an subarrays

Given an array arr[], the goal is to count the number of inversions in all the sub-arrays. An inversion is a pair of indices i and j such that i > j and arr[i] < arr[j]. A sub-array from index x to y ( x= j.Naive Approach: A naive approach is to generate all possible […]

Continue Reading

Minimum Mex from all subarrays of length K

Given an array arr[] consisting of N distinct positive integers and an integer K, the task is to find the minimum MEX from all subarrays of length K. The MEX is the smallest positive integer that is not present in the array. Examples: Input: arr[] = {1, 2, 3}, K = 2Output: 1Explanation:All subarrays of […]

Continue Reading

Competitive Programming – A Complete Guide

Competitive Programming is a mental sport which enables you to code a given problem under provided constraints. The purpose of this article is to guide every individual possessing a desire to excel in this sport. This article provides a detailed syllabus for Competitive Programming designed by industry experts to boost the preparation of the readers. […]

Continue Reading