Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Pro subscription. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it’s simply the best investment you can make in your development career.

Challenge: Heap Pro

This video was last updated on Jan 29 2019

Write a method that will let you know if a given Array represents a Heap. Swift's closures make it possible to use the same code for min and max heaps.