## Print all the paths from root, with a specified sum in Binary tree

Given a Binary tree and a sum S, print all the paths, starting from root, that sums upto the given sum. Note that this problem… Read More »

## Samsung Interview Experience | Set 19 (On-Campus)

Recently Samsung Delhi visited our campus for Full-Time Campus Requirement. One month earlier they sent a ppt slide containing sample problems set on Graph, Backtracking,… Read More »

## Codenation Interview Experience | Set 4 (Off-Campus for Internship)

I recently applied for the position of an intern as a software developer. Here is my interview experience in brief: The whole interview was classified… Read More »

## Find sum of divisors of all the divisors of a natural number

Given a natural number n, the task is to find sum of divisors of all the divisors of n. Examples: Input : n = 54… Read More »

## Capital One Interview Experience | Set 1 (On-Campus for Analyst Profile)

Round 1 – Resume Shortlisting Don’t know clearly what the criteria was but almost everyone with a CPI above 6.5 was shortlisted. Around 270 from… Read More »

## Knowlarity Interview Experience | Set 2 (Off-Campus)

I applied for a job through there official website(I saw the job opening and mailed my resume to the HR). He immediately responded and sent… Read More »

## Goldman Sachs Interview Experience | Set 22 (On-Campus for Analyst profile)

I would like to share my GS interview experience with the prospect of helping upcoming batches. Round 1 – Resume based shortlisting – Basically add… Read More »

## Graph implementation using STL for competitive programming | Set 2 (Weighted graph)

In Set 1, unweighted graph is discussed. In this post, weighted graph representation using STL is discussed. The implementation is for adjacency list representation of… Read More »

## SQL | Date functions

In SQL, dates are complicated for newbies, since while working with database, the format of the date in table must be matched with the input… Read More »

## Java.io.Writer Class in Java

java.io.Writer class is an abstract class. It is used to write to character streams. Declaration : public abstract class Writer extends Object implements Appendable, Closeable,… Read More »

## Check linked list with a loop is palindrome or not

Given a linked list with a loop, the task is to find whether it is palindrome or not. You are not allowed to remove the… Read More »

## Complex numbers in C++ | Set 1

The complex library implements the complex class to contain complex numbers in cartesian form and several functions and overloads to operate with them. real() –… Read More »

## Array of Strings in C++ (5 Different Ways to Create)

In C/C++, a string is a 1-D array of characters and an array of string in C is a 2D array of characters. This comes… Read More »

## LCS (Longest Common Subsequence) of three strings

Given 3 strings of all having length < 100,the task is to find the longest common sub-sequence in all three given sequences. Examples: Input :… Read More »

## How to overcome Time Limit Exceed(TLE)?

Many programmers always argue that the problems in Competitive Programming always end up with TLE(Time Limit Exceed). The main problem of this error is that… Read More »