I have have got the below 2 questions from Hackerrank.
Connected Sum <Passed all cases with BFS
Storage Optimization <Some cases failed -non optimal solution with DP>
Any pointers for optimal solutions ?