Given an array of positive integers, remove all the occurrences of element to get the maximum sum of the remaining array Examples: Input : arr… Read More »

Given an array arr[] of N elements. At any step, we can delete a number of a different parity from the just previous step, i.e.,… Read More »

In CSS we align items horizontally and vertically. Various methods and techniques are used to center them, take care of the left and the right… Read More »

Given an array of N elements. The task is to split the elements into two arrays say a1[] and a2[] such that one contains strictly… Read More »

Given N elements, you can remove any two elements from the list, note their sum and add the sum to the list. Repeat these steps… Read More »

Given an array of N integers. The task is to find the maximum difference between the index of any two different numbers. Note that there… Read More »

Given a binary array and Q queries. Every query consists of a number K, the task is to print the number of ones and zeros… Read More »

Prerequisite: min() max() in Python Let’s see some interesting facts about min() and max() function. These functions are used to compute the maximum and minimum… Read More »

Tech-Set-Go 2018 Eligibility: Microsoft gives an opportunity to all undergraduate and postgraduate students for 2 months summer internship program. Basic criteria to apply for Microsoft… Read More »

Interactive Problems are those problems in which our solution or code interacts with the judge in real time. When we develop a solution for an… Read More »

Given an array arr[] of size N. The task is to make all the array elements equal by applying the below operations minimum number of… Read More »

How to solve problems that fall in the Finders keepers category in ‘Game Theory’? Note- Finders keepers game fall into the category of ‘Impartial Games’… Read More »

Recently, Amazon held a Pool Campus drive at Pune in which students from various colleges in the city had appeared. Job Profile: Software Development Engineer… Read More »

Given a date in GregorianCalendar format change it into SimpleDateFormat. Examples: Input: Sat Apr 28 13:36:37 UTC 2018 Output: 28-Apr-2018 Input: Wed Apr 03 20:49:45… Read More »

Input text autocomplete is the default feature of any browser. While working with the form or input fields in HTML web page autocomplete feature of… Read More »

Microsoft conducted an all India drive for hiring SDE Interns(Minimum CGPA was 7 and no backlogs were allowed). They conducted a coding round in which… Read More »

I applied to TIAA through college internship process. Round 1: Online Test The test was conducted on CoCubes platform. The test consisted of aptitude and… Read More »

Barclays recently visited my Campus. Eligibility criteria was cgpa > 7 and no live backlog . Only Comp and IT were allowed . Around 120… Read More »

Given a linked list, the task is to find the sum of all the nodes which are greater than the node next to them. Note… Read More »

Given the NxN grid of horizontal and vertical roads. The task is to find out the number of ways that the person can go from… Read More »