Skip to content

kramachandran1980/coding-interview-test

Repository files navigation

coding-interview-test

Problem 1

Solved using Quick Sort

Problem 2

Solved only for decimal numbers (radix = 10)

Problem 3:

Intuition as follows :

MoneyGathered[0th house to nth house] =

  Maximum of  MoneyGathered[0 to n-1 house]   OR  MoneyGathered[0 to n-2 house] + MoneyAt[n th house]

Problem 4:

2 implementations :

  1. Using Forward list from STL
  2. CStyle linked list

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages