Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 309 Bytes

66-deletion-in-an-array.md

File metadata and controls

6 lines (5 loc) · 309 Bytes

Problem:

The deleteValues function takes an array and removes elements that answer true to the pred function.

For some reason, some of the elements of the array for which the predicate holds are not deleted...

Can you fix the code?

Solution