The link to my code is JJgmcG - Online C Compiler & Debugging Tool - Ideone.com
you are getting SIGSEGV due to too much function calls , which exceeds stack memory
try memorization .
you are getting SIGSEGV due to too much function calls , which exceeds stack memory
try memorization .