You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find the number of laser beams between 2 adjacent rows by multiplying number of security devices present in the first row of pair with the number of security devices in the second row of that pair
Add number of laser beams from each pair of adjacent row
Time: O(n * m), where n is the length of the given array(bank) and m is the length of each string