Internet Brands Interview Question

The live coding interview problem was about finding a number of same number from an array For example, {2,3,4,5, 6,7,7,7,8,9}. Q: number of 7? A:3

Interview Answer

Anonymous

Jul 10, 2018

by using for loop, I increase counter whenever I find the number and return it on the method.