All Easy Articles

Make all elements of an Array equal by adding or subtracting at most K 2

Given an array arr[] containing positive integers of size N and an integer K, the task is to make all the elements in the array… Read More »

Check if number formed by joining two Numbers is Perfect Cube 2

Given two numbers a and b, the task is to check whether the concatenation of a and b is a perfect cube or not. Examples:… Read More »

Count of prime digits of a Number which divides the number 2

Given an integer N, the task is to count the number of digits in N which is a prime number and also divides the number.… Read More »

Maximum product of bitonic subsequence of size 3 2

Given an array arr[] of positive integers of size N, the task is to find the maximum product of bitonic subsequence of size 3. Bitonic… Read More »

Minimum change in given value so that it lies in all given Ranges 2

Given an array of ranges arr[] of length N and a number D, the task is to find the minimum amount by which the number… Read More »

Top 5 Reasons to Learn Ethical Hacking 2

Ethical Hacking is compromising computer systems for assessing their security and acting in good faith by informing the vulnerable party. Ethical hacking is a key… Read More »

Bring Out The Geek In You During COVID-19 Outbreak 2.6

The world is facing one of the worst epidemics, the outbreak of COVID-19, you all are aware of that and this is not the first… Read More »

Longest increasing sub-sequence formed by concatenating array to itself N times 2

Given an array arr[] of size N, the task is to find the length of the longest increasing subsequence in the array formed by the… Read More »

Find pairs of elements from two different arrays whose product is a perfect square 2

Prerequisites: Prime Factorization using Sieve Given two arrays arr1[] and arr2[] of size M and N with distinct elements in each of the arrays, the… Read More »

Create Classes Dynamically in Python 2

A class defines a collection of instance variables and methods to specify an object type. A class can be used to make as many object… Read More »

Check if an array is sorted and rotated using Binary Search 2

Pre-requisite: Check if an array is sorted and rotated using Linear Search Given an array arr[] of N distinct integers, the task is to check… Read More »

How to use JavaScript variables in jQuery selectors ? 2

In this article, we will discuss how to use JavaScript variables in jQuery selectors. In the following examples, it can be seen that we have… Read More »

Difference between Minicomputer and Supercomputer 2

Prerequisite – Classification of Computers Mini-Computer: Minicomputers are small Computers that are more powerful as compared to personal computers but they are less powerful if… Read More »

I got interview mail that I have been shortlisted as software engineer role for interview .My recruiter asked me for date preferences. Round 1:- It… Read More »

Length of Smallest Subsequence such that sum of elements is greater than equal to K 2

Given an array arr[] of size N and a number K, the task is to find the length of the smallest subsequence such that the… Read More »

Amazon Interview Experience for Internship 2.5

1st round (Online) 30 MCQs and 2 coding questions 1) Find the contiguous sub-array with maximum sum (Kadane’s Algorithm) 2) Find mean, median and mode… Read More »

Why Numpy is faster in Python? 2

NumPy is a Python fundamental package which used for efficient manipulations and operations on High-level mathematical functions, Multi-dimensional arrays, Linear algebra, Fourier Transformations, Random Number… Read More »

Conversion of Binary number to Base 4 system 2

We all know that, = . In other words, single digit in base 4 can be represented using 2 digits in base 2. Base 2… Read More »

Python | Replacing Nth occurrence of multiple characters in a String with the given character 2

Given a String S, a character array ch[], a number N and a replacing character, the task is to replace every Nth occurence of each… Read More »

Find an array of size N having exactly K subarrays with sum S 2

Given three integers N, K and S, the task is to choose an array of size N such that there exists exactly K sub-arrays with… Read More »