Given an array arr[] of length N. The task is to check if there exists any subarray whose sum is a multiple of N. If… Read More »

Given an array of positive elements, you have to flip the sign of some of its elements such that the resultant sum of the elements… Read More »

I have applied to multiple positions on LinkedIn. Finally, I got a mail stating that I can give my online test on Hackerearth platform. Round… Read More »

It’s Summertime and the placement season is in full swing! Whether you’re interested in product-based companies, startups or service-based companies, it is equally important to… Read More »

The Picard’s method is an iterative method and is primarily used for approximating solutions to differential equations. This method of solving a differential equation approximately… Read More »

Given a string Str, the task is to remove first adjacent pairs of similar characters until we can. Note: Remove adjacent characters to get a… Read More »

Given two strings s1 and s2, the task is to find the minimum number of steps required to convert s1 into s2. The only operation… Read More »

Cyber crime is taken very seriously by law enforcement. In the early long periods of the cyber security world, the standard cyber criminals were teenagers… Read More »

Given a linked list and an integer K, the task is to reverse every K nodes of the given linked list. Examples: Input: 1 ->… Read More »

GitHub is one of the most popular sites for hosting source codes with version control. In fact it now also has GitHub Jobs through which… Read More »

Given a string str, the task is to reverse all the individual words. Examples: Input: str = “Hello World” Output: olleH dlroW Input: str =… Read More »

The IT industry, especially in India, heavily uses Java in most of their projects. Being a Java developer, one should have the knowledge about the… Read More »

Given four integers a, b, c and N. The task is to find the Nth term which is divisible by either of a, b or… Read More »

Given an integer N and the task is to find a sequence of N prime numbers whose sum is a composite number. Examples: Input: N… Read More »

Given an Array[] of N elements and a number K. ( 1 <= K <= N ) . Split the given array into K sub… Read More »

Given a linked list and an integer N, the task is to delete the Nth node from the end of the given linked list. Examples:… Read More »

Given an array arr[] of size N and an integer K, the task is to find the Kth smallest element from the array in constant… Read More »

Given an array of integers of size N, The task is to print the consecutive integers as a range. Examples: Input : N = 7,… Read More »

Prerequisite: SQL | GROUP BY Error: Column ‘col’ is invalid in the select list because it is not contained in either an aggregate function or… Read More »

This article will tell us how the bootstrap executes when the .modal (modal window) gets closed. At some point of time, the modal window –… Read More »