@ankit3009 Can you help me with this?
Watch this and you are never going to forget this concept ever.
@ankit3009 Done(Favorite ). Not soo good trying to learn from gate overflow answer and comments. Thanks @gateoverflow.
@raja11sep Thanks for such descriptive comment, I got the approach I was just little confused why #ways for selecting initial state is ‘n’, I literally forgot that there can be only 1 initial state (such a silly mistake ik :p)