0
/ 1.0
Priscilla Perfect detests imperfection (hence the name). Write a program to analyze a given array and return true if the array is worthy...
Priscilla Perfect detests imperfection (hence the name). Write a program to
analyze a given array and return true if the array is worthy of being
presented to Priscilla.
An array is considered perfect if there are no empty slots. Empty slots in the
given array will have a value of 0.
Examples:
isPerfectArray({2, 3, 4, 5, 6}) -> true
isPerfectArray({1, 1, 4, 5, 6, 0, 0, 0, 0}) -> false
Your feedback will appear here when you check your answer.