## how to find nth permutation of a string in c

how to find nth permutation of a string in c.write a c program to find nth permutation of a string. For example if given string is “1256” then all...

## find longest increasing subsequence using recursion

write a recursive function to find longest increasing subsequence using recursion. For example if we have sequence of  { 6, 3, 4, 5, 6, 9, 8 }. The longest...

## find maximum path to reach from source to destination

Given a directed graph and two vertices ( source and destination ),  find maximum path to reach from source to destination. For example in the below directed graph if...

## Graph coloring backtracking problem

You are given an undirected graph and two colors, black and white.  write  a program to find the maximum number of nodes that can be colored with black such...

## Smart Frog codechef problem solution by backtracking

Backtracking problem is not easier to understand. For an average programmer practice is the only way to become an expert at backtracking problem solution. The article  “Smart Frog codechef...

## find minimum number of clicks to make monochromatic grid

A grid of size NxM where each cell of the grid is filled with  some color. Find minimum number of clicks to make monochromatic grid (having one color). Problem...