A Toast is a short alert message shown on the Android screen for a short interval of time. Android Toast is a short popup notification… Read More »

Rotate animation is a special kind of animation in Android which controls the Rotation of an object. These type of animations are usually used by… Read More »

Given an integer array arr[] of size N, the task is to construct an array consisting of N+1 strings of length N such that arr[i]… Read More »

Given an array A[ ] consisting of non-negative integers and matrix Q[ ][ ] consisting of queries of the following two types: (1, l, val):… Read More »

Given a set of coordinates in the form of (X, Y), the task is to find the least regression line that can be formed. In… Read More »

Given three integers N, M and K, the task is to calculate the sum of products of Binomial Coefficients C(N, i) and C(M, K –… Read More »

Given an integer N (? 2), the task is to find the maximum GCD among all pairs possible by the integers in the range [1,… Read More »

Hey Everyone! Amazon visited our campus for ACMS selection. I am sharing my experience of entire journey here. ROUND 1: Everyone who satisfied the required… Read More »

The major challenge in designing a machine learning model is to make it work accurately on the unseen data. To know whether the designed model… Read More »

Given an N-ary Tree rooted at 1, and an array val[] consisting of weights assigned to every node, and a matrix Q[][], consisting of queries… Read More »

Given a graph of N Nodes and E edges in form of {U, V, W} such that there exists an edge between U and V… Read More »

Given a sorted array of characters arr[] and a character K, the task is to find the character with nearest smaller ASCII value than K… Read More »

Prerequisites: lvalue and rvalue in C++, References in C++ “l-value” refers to a memory location which identifies an object. “r-value” refers to the data value… Read More »

As we know the world is facing an unprecedented challenge with communities and economies everywhere affected by the COVID19. So, we are going to do… Read More »

Given list values and keys list, convert these values to key value pairs in form of list of dictionaries. Input : test_list = [“Gfg”, 3,… Read More »

Given an array num[] of N integers where each element is associated with a price given by another array price[], the task is to minimize… Read More »

Given two integers N and M, the task is to construct a binary string with the following conditions : The Binary String consists of N… Read More »

It was a complete virtual process ( July 2020) . Test There was a online test consisting of 32 questions with 15 Aptitude questions, 15… Read More »

Method 1: To make the table responsive on all viewport size, wrap the table within a opening and closing <div> tags, having class “table-responsive” within… Read More »

Given an integer N, the task is to construct a matrix M[][] of size N x N with numbers in range [1, N^2], such that… Read More »