Between Two Sets - HackerRank Challenge | C++ Implementation

You will be given two arrays of integers and asked to determine all integers that satisfy the following two conditions: 1. The elements of the first array are all factors...

Memes on copy pasting code from Stackoverflow

Stackoverflow was launched on 2008 by Jeff Atwood and Joel Spolsky. It is written in C#. It is owned by Stack Exchange Network. Stack Exchange Network has some good websites...

Kangaroo HackerRank Challenge | C++ Implementation

The first kangaroo starts at location x1 and moves at a rate of v1 meters per jump. The second kangaroo starts at location x2 and moves at a rate of...

How to Install a Software on Ubuntu | Package Management

A package file is a compressed collection of files necessary to install a software or an application. It also includes metadata about the package such as text description of package...

Kruskal's Algorithm | Minimum Spanning Tree

When edges connects all vertices in a graph and form a tree then it is known as *spanning tree*. While connecting edges no cycle should be formed. A minimum spanning...

Prime Numbers and Sieve of Eratosthenes

A prime number is an integer n > 1 which is only divisible by 1 and n(itself). For example, 2, 3, 5 are prime numbers, but 6, 8, 9 are...

Roy and Code Streak | HackerEarth Challenge

Roy is working on HackerEarth Profile. Right now he is working on User Statistics. One of the statistics data (Code Streak) is as follows:

Amazon Great Indian Festival Sale 2019: Top 10 Laptop Deals

Great Indian Festival sale on Amazon.com starts from 21st Oct to 25th Oct. Products have heavy discounts and cashback offers. There is 10% Instant Discount + Bonus Offer on Axis...

How to Manipulate Bits in C and C++

All data in computer is represented in binary i.e. in 0 or 1. Computers or machines do not understand our languages, they understand bits. Generally programmer do not care about...

Stack Overflow Vulnerability

Stack overflow is a type of buffer overflow vulnerability. When we pour water in a glass more than its capacity the water spills or overflow, similarly when we enter data...

How to create Password list using CUPP tool on Ubuntu

People do not create complex passwords. Their password consists of their name or surname, date of birth, favourite football team etc, so they can remember it easily. There are many...