Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 252 Bytes

File metadata and controls

6 lines (5 loc) · 252 Bytes

Given a list of integers, return true if the list contains the number 2 twice, or the number 3 twice. The list will be of length 0, 1, or 2.

For example:

  • double23([2, 2]) → true
  • double23([3, 3]) → true
  • double23([2, 3]) → false