## C++ programming and STL facts

Assign value by a pair of {} to a container As we are familiar with the pair there is also one thing known as tuples.… Read More »

Featured Article

Assign value by a pair of {} to a container As we are familiar with the pair there is also one thing known as tuples.… Read More »

Featured Article

Given a queue with random elements, we need to sort it. We are not allowed to use extra space. The operations allowed on queue are… Read More »

Featured Article

Given an array A positive integers, sort the array in ascending order such that element at index K in unsorted array stays unmoved and all… Read More »

The ord() function is a inbuilt function in PHP that returns the ASCII value of the first character of a string. This function takes a… Read More »

You are given an n * n matrix which represent a graph with n-vertices, check whether the input matrix represent a star graph or not.… Read More »

Prerequisite – Basics of Two Phase Locking protocol(2-PL), Types of 2-PL. Now, we know both Strict 2-PL and Rigorous 2-PL avoids Cascading Rollbacks and ensures… Read More »

Prerequisite – Mean, Variance and Standard Deviation, Variance and Standard Deviation of an array Given a matrix of size n*n. We have to calculate variance… Read More »

Given two Binary Trees, returns true if two trees are mirror of each other, else false. Mirror Tree : Previously discussed approach is here. Recommended:… Read More »

A Pandigital Number is number which makes the use of all digits 1 to 9 exactly once. We are given a number, we need to… Read More »

When we write a program in any language we need to follow a standard format for writing the program which is recommended by language developers.… Read More »

Internetworking is combined of 2 words, inter and networking which implies an association between totally different nodes or segments. This connection area unit is established… Read More »

What is Atomics? The Atomics is an object in JavaScript which provides the ability to perform atomic operations as static methods. Just like the Math… Read More »

Given N numbers and Q queries, every query consists of L and R, task is to find the number of such integers i (L<=i<R) such… Read More »

The task is to create timer without using any graphics or animation. The timer will be made using system calls whereever necessary. Timer in this… Read More »

Object and Object Constructors in JavaScript? In the living world of object-oriented programming we already know the importance of classes and objects but unlike other… Read More »

Given an array Arr[] of N integers. We need to write a program to find minimum number of elements needed to be removed from the… Read More »

We are given an integer n and n-th term in a series as expressed below: Tn = n2 – (n-1)2 We need to find Sn… Read More »

Problem – Find the vertex, focus and directrix of a parabola when the coefficients of its equation are given. A set of points on a… Read More »