re: Javascript Sock Merchant Challenge - Solution 1 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I had the same idea as Bhavesh but looking at the code in the article (I could not watch the video so sorry if it's in there), I'm a little confuse...
 

Yes array is only populated with color integer and the challenge is specific about actual pairs so no possible. [1,1,1] should return 1 to satisfy the exercise requirements

code of conduct - report abuse