InterviewBit Problems   Paint House! : Unsolved


About the Paint House! : Unsolved category (1)
Easy 2 lines of C++ code (1)
Easy 10 line C++ code (1)
Memory Limit exceed error (1)
Easy solution C++ (with comments) (1)
Can anyone tell me error in this code please (1)
I need help why this approach is not right? (4)