Given a list of tuples, write a Python program to convert it into list. Examples: Input: [(11, 20), (13, 40), (55, 16)] Output:[11, 20, 13,… Read More »

Given an array arr[] and an integer k, the task is to find the maximum product from the array such that the frequency sum of… Read More »

Given an array Arr[] of N integers. The task is to find minimum number of elements needed to be removed from the array, so that… Read More »

There arises several situations while solving a problem where we need to iterate over all possible combinations of an array. In this article, we will… Read More »

Bootstrap popover is an attribute in bootstrap that can be used to make any website look more dynamic. Popovers are generally used to display additional… Read More »

Given an array of N elements, the task is to find the longest subarray which is Fibonacci-like. A Fibonacci-like sub-array is defined as an array… Read More »

Given an array of N elements and Q queries, where each query contains an integer K. For each query, the task is to find the… Read More »

Given an array consisting of even number of elements, the task is to divide the array into M group of elements (every group must contain… Read More »

OAuth (Open Authorization) is an open standard protocol for authorization of an application for using user information, in general, it allows a third party application… Read More »

Given n sentences. The task is to count the number of words that appear in all of these sentences. Note that every word consists of… Read More »

Given N numbers(N is an even number). Divide the N numbers into N/2 pairs in such a way that the sum of squares of the… Read More »

Amazon Interview Experience SDE-1 This was a hiring drive at the Chennai office. Around 40 people attended. Day 1 interviews Round 1: Written Round Longest… Read More »

There are N distinct integers arranged on a circle. The distance between any two adjacent numbers is 1. The task is to travel on this… Read More »

Given an array of N integers. The task is to eliminate the minimum number of elements such that in the resulting array the sum of… Read More »

top command is used to show the Linux processes. It provides a dynamic real-time view of the running system. Usually, this command shows the summary… Read More »

Given a string, write a Python program that checks if the given string is keyword or not. Keywords are reserved words which cannot be used… Read More »

Question 1: The cost price of 12 books is equal to the selling price of 10 books. The gain percent is : Solution : Given… Read More »

Question 1: If a card is picked up random from the a pack of 52 cards. Find the probability that it is a king or… Read More »

Given the position of a Bishop on an 8 * 8 chessboard, the task is to count the total number of squares that can be… Read More »

Given an array arr[] of N elements and an integer K, the task is to find the number of ways of choosing an integer X… Read More »