Featured Article

## Bits manipulation (Important tactics)October 16, 2017

Prerequisites : Bitwise operators in C, Bitwise Hacks for Competitive Programming, Bit Tricks for Competitive Programming Compute XOR from 1 to n (direct method) :… Read More »

Featured Article

## Cycles of length n in an undirected and connected graphOctober 15, 2017

Given an undirected and connected graph and a number n, count total number of cycles of length n in the graph. A cycle of length… Read More »

Featured Article

## Must Do Coding Questions Company-wiseJuly 26, 2017

Topic : Google Facebook Microsoft Adobe Oracle Amazon D E Shaw MAQ Software Directi Yahoo Accolite Walmart Labs Samsung Paytm Ola Cabs Flipkart SAP Labs… Read More »

## Julia fractal in PythonOctober 17, 2017

Introduction to julia set In the context of complex dynamics, a topic of mathematics, the Julia set and the Fatou set are two complementary sets… Read More »

## Theory of Computation | Union & Intersection of Regular languages with CFL

Prerequisite – Chomsky Hierarchy, Regular Languages As we all are aware that languages accepted by finite automata are called regular languages and those which are… Read More »

## Replace node with depth in a binary tree

Given a binary tree, replace each node with its depth value. For example, consider the following tree. Root is at depth 0, change its value… Read More »

## Newton Forward And Backward Interpolation

Interpolation is the technique of estimating the value of a function for any intermediate value of the independent variable, while the process of computing the… Read More »

## Cholesky Decomposition : Matrix Decomposition

In linear algebra, a matrix decomposition or matrix factorization is a factorization of a matrix into a product of matrices. There are many different matrix… Read More »

## difftime() C library function

The C library function difftime() returns the difference, in seconds between starting time and ending time.(ending time-starting time) // It is present in time.h header… Read More »

## Lexicographically smallest string whose hamming distance from given string is exactly K

Given a lowercase string A of length N and an integer K, find the lexicographically smallest string B of the same length as A such… Read More »

## Mean and median of an unsorted array

Given n size unsorted array, find its mean and median. Mean of an array = (sum of all elements) / (number of elements) Median of… Read More »

## Philips Interview Experience | Set 6 (On-Campus)

It totally took 3 rounds to final shortlist of students. Round 1: It is an online test consisting of English, quant+apti and C/C++ technical question.… Read More »

## strpbrk() in C

This function finds the first character in the string s1 that matches any character specified in s2 (It excludes terminating null-characters). Syntax : char *strpbrk(const… Read More »

## Check if one of the numbers is one’s complement of the other

Given two non-negative integers a and b. The problem is to check if one of the two numbers is 1’s complement of the other. The… Read More »

## Global Analytics Interview Experience | Set 2

Global Analytics recently came to our college for recruiting. From around 260 members they have shortlisted 18 members to next round. Coding Round: This was a… Read More »

## k-th missing element in increasing sequence which is not present in a given sequence

Given two sequences, one is increasing sequence a[] and another a normal sequence b[], find the K-th missing element in the increasing sequence which is… Read More »

## Computer Network | (Route Poisoning and Count to infinity problem)

The main issue with Distance Vector Routing (DVR) protocols is Routing Loops, since Bellman-Ford Algorithm cannot prevent loops. This routing loop in DVR network causes… Read More »

## Wipro Turbo Interview Experience | Set 12 (For CSP Profile)

The complete Hiring process took two days. First day, online test was conducted and results came in the evening and Next day interviews were conducted.… Read More »