Mathworks Interview Question | USA | EDG 2021

Anonymous User
5582
Oct 10, 2020
Oct 10, 2020

Hi, I was asked this question in Mathworks. I was able to do a naive solution of counter but couldn't come up with an optimized approach. My solution timed out. Can someone help?
image
image

Comments (4)