The task is to send data of HTML form directly to JSON file. Approach: We have an HTML form containing several fields such as name,… Read More »

Technical interviews can be a mind wracking experience for candidates. We know that the most common formula to get a willing job and crack the… Read More »

Given a binary string S, the task is to find the minimum number of Powers of 2 required to express a S.Examples: Input: S =… Read More »

Given a rod of length N units, the task is to find the number of ways to cut the rod into parts such that the… Read More »

Given an integer N greater than 2, the task is to find an element M such that GCD(N, M) is maximum. Examples: Input: N =… Read More »

For Software Developer role (Analyst) : Round 1: Online Coding Round 2 Coding Questions in 2 hour time limit. Q1. Given a number ‘x’, and a… Read More »

Given a decimal number as N, the task is to convert N into an equivalent irreducible fraction. An irreducible fraction is a fraction in which… Read More »

Given N axis-parallel rectangles in a 2-D cartesian coordinate system and coordinates of 4N-1 vertices, the task is to find the single vertex missing.Examples: Input:… Read More »

Given an array A[] consisting of N elements, the task is to find the minimum distance between the minimum and the maximum element of the… Read More »

Given an integer N, the task is to find the number of binary strings possible of length N having same frequency of 0s and 1s.… Read More »

STL provides a range of data structures that are very useful in various scenarios. A lot of data structures are based on real-life applications. It… Read More »

Given a string S that consists of letters such that their ASCII values follow an Arithmetic Progression. The task is to find the letter and… Read More »

Given an array prices[] which denotes the prices of the stocks on different days, the task is to find the maximum profit possible for buying… Read More »

The CTF or Check the Flag problem is posted on vulunhub.com. VulunHub is a platform which provides vulnerable applications/machines to gain practical hands-on experience in… Read More »

Given a number N, the task is to count the number of unique digits in the given number. Examples: Input: N = 22342 Output: 2 Explanation:The digits… Read More »

Given an integer K and an array arr[] which denotes the amount that can be stolen, the task is to choose a subset of items… Read More »

Mathematical operator symbols – These symbols are used to write and represent various mathematical functions such as log, cos, sin etc. Though we can write… Read More »

Given an array arr[] of size N and D index, the task is to rotate the array by the D index. Left Rotate: Array rotate… Read More »

Given a string str and two characters X and Y, the task is to write a recursive function to replace all occurrences of character X… Read More »

Given an integer array arr[] of size N, the task is to find the minimum distance between any most and least frequent element of the… Read More »