## Print all the cycles in an undirected graph

Given an undirected graph, print all the vertices that form cycles in it. Pre-requisite: Detect Cycle in a directed graph using colors In the above… Read More »

## Count number of right triangles possible with a given perimeter

Given a perimeter P, the task is to find the number of right triangles possible with perimeter equal to p. Examples: Input: P = 12… Read More »

## Sum of sum of all subsets of a set formed by first N natural numbers

Given N, and ff(N) = f(1) + f(2) + …… + f(N), where f(k) is the sum of all subsets of a set formed by… Read More »

## Avaya Interview Experience 2018 (On Campus)

Avaya had 3 rounds for selecting students. The eligibility criteria was 8.0 CGPA and above, with no live or dead ATKT 1) Aptitude test The… Read More »

## Variants of Binary Search

Binary search is very easy right? Well, binary search can become complex when element duplication occurs in the sorted list of values. It’s not always… Read More »

## Weird Number

In number theory, a weird number is a natural number that is abundant but not semiperfect. In other words, the sum of the proper divisors… Read More »

## Count pairs with Bitwise AND as ODD number

Given an array of N integers. The task is to find the number of pairs (i, j) such that A[i] & A[j] is odd. Examples:… Read More »

## Difference between Algorithm, Pseudocode and Program

In this post, we will discuss the most common misconception that an algorithm and a pseudocode is one of the same things. No, they are… Read More »

## Adobe (Product development) Internship Interview On Campus

Company willingness criteria: students enrolled in B.Tech/IDD of cse eee ece mat with CPI > 7.50 Round 1: Online Test Experience: Platform: HackerRank, All languages… Read More »

## Amazon QA role & Support Engineer Intern interview experience

Round 1: First we took an online test(20 mcq’s and 2 programming questions) in our college. After 3 days Amazon recruiters came to our college.… Read More »

## Longest subsequence whose average is less than K

Given an array of N positive integers and Q queries consisting of an integer K, the task is to print the length of the longest… Read More »

## Semiperfect Number

In number theory, a semiperfect number or pseudoperfect number is a natural number n that is equal to the sum of all or some of… Read More »

## CBSE Class 11 | Concepts of Programming Methodology

Programming is all about solving a particular problem through computerized codes. Whether it be a problem of inventory management at any shopping complex, marks evaluation… Read More »

## Sudo Placement[1.7] | Greatest Digital Root

Given a number N, you need to find a divisor of N such that the Digital Root of that divisor is the greatest among all… Read More »

## Check if a Matrix is Invertible

In linear algebra, an n-by-n square matrix A is called Invertible, if there exists an n-by-n square matrix B such that where ‘In‘ denotes the… Read More »