added some dp and cracking the code problems