diff --git a/Faulty wiring and Bulbs b/Faulty wiring and Bulbs new file mode 100644 index 0000000..610ea5a --- /dev/null +++ b/Faulty wiring and Bulbs @@ -0,0 +1,41 @@ +// { Driver Code Starts + +#include +using namespace std; + + // } Driver Code Ends + + +class Solution +{ + public: + int countFlips(int a[],int n) + { + //code here. + int k=1,m=0; + for(int i=0;i>t; + while(t--){ + cin>>n; + int a[n]; + for(int i=0;i>a[i]; + Solution ob; + cout<