Tabular version : Bottom Up Approach