is it possible to switch all the bulbs using any of the m switches any number of time

@admin , please fulfil the above suggestions. :slight_smile: XD

Can someone share what was the other question present in the contest.

Are you sure you can use Gaussian elimination here? There are m equations and n variables, m!= n

1 Like

Oob right…sorry i haven’t used gaussian elimination method,i asked my friend how to solve linear equations,and he suggested this…

Though u can refer this for m!=n case:

http://cp-algorithms.com/linear_algebra/linear-system-gauss.html