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 »

Infosys organized one event #HackWithInfy for last year students of B.Tech. There were total three rounds in this competition and you will get a PPI… 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 »

Given a string str containing lowercase characters, the task is to find the lexicographically largest sub-sequence of str. Examples: Input: str = “abc” Output: c… Read More »

Given an array arr[] of integers, the task is to find the element (other than 1) which is the factor of maximum number of elements… Read More »

Given an array arr[] of n integers and an integer k. The task is to make all the elements of arr[] equal with the given… Read More »

Authentication, the process of identifying and validating an individual is the rudimentary step before granting access to any protected service (such as a personal account).… Read More »

There are 6 persons seating on a round table in which two individual have the same names. What is the probability that the two same-named… Read More »

Given a list, find the most frequent element in it. If there are multiple elements that appear maximum number of times, print any one of… Read More »

Given an array arr[] and an integer K, the task is to find whether the array can be divided into two sub-arrays such that the… Read More »

Given an undirected graph G(V, E) with N vertices and M edges. We need to find the minimum number of edges between a given pair… Read More »

A fully object-oriented language means everything is represented as an object but can’t differentiate between primitive types and objects of classes but C# is not… Read More »

Give an integer array arr[] consisting of elements from the set {0, 1}. The task is to print the number of ways the array can… Read More »