All Easy Articles
We are given an array a of size N. The task is to print the length of the longest alternative odd/even or even/odd subsequence. Examples:  Input:… Read More
Game Theory (Normal – form game) | Set 1 (Introduction) Please go through the above article before proceeding. Given a payoff matrix. The task is… Read More
Although Second Normal Form (2NF)relations have less redundancy than those in 1NF, they may still suffer from update anomalies. If we update only one tuple… Read More
First Normal Form (1NF) does not eliminate redundancy, but rather, it’s that it eliminates repeating groups. Instead of having multiple columns of the same kind… Read More
The task is to validate whether the given string is valid HTML or not using JavaScript. we’re going to discuss a few techniques.  Approach Get… Read More
Given an array of JavaScript date. The task is to get the minimum and maximum date of the array using JavaScript.  Below are the following… Read More
The task is to convert a JavaScript Array to a Set with the help of JavaScript. Below are the approaches to Converting Array to a… Read More
The task is to increment/decrement alphabetic letters using ASCII values with the help of JavaScript.  Approach: Use charCodeAt() method to return the Unicode of the… Read More
I have applied for the position of SDE-1 in Amazon India through a referral of an Amazon Employee.   Round 1: (Written Round) This round comprises of… Read More
Given a string, the given string is an encrypted word, the task is to decrypt the given string to get the original word. Examples: Input:… Read More
In programming contexts, as there arises a need for a new type, there is also a major task of ordering the instances of a type.… Read More
There is one meeting room in a firm. There are N meetings in the form of (S[i], F[i]) where S[i] is the start time of… Read More
Given string str, the task is to repeat every substring of the string X number of times where X is the number composed of the… Read More
In various books of python programming, it is mentioned that python language is interpreted. But that is half correct the python program is first compiled… Read More
Round 1: This round was online written test on hackerrank platform. There were two questions Connect N ropes with minimum cost problem. Article : https://www.geeksforgeeks.org/connect-n-ropes-minimum-cost/ Practice : https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes/0… Read More
Given a directed graph with N vertices and M edges that may contain cycles, the task is to find the lexicographically smallest topological ordering of… Read More
M. Nambiar has devised a mechanism to process any given number and thus generating a new resultant number. He calls this mechanism as the “Nambiar… Read More
Given a string str consisting of parenthesis from [ “(” , “)” , “{” , “}” , “[” , “]” ]. If the String is perfectly… Read More
Fermat numbers are non-negative odd numbers which is valid for all values of k>=0. Only the first seven terms of the sequence are known till… Read More
Prerequisite: Introduction to Rest API REST stands for REpresentational State Transfer and is an architectural style used in modern web development. It defines a set… Read More