Пример #1
0
 public static bool IsHeap <T>(
     this ArrayIterator <T> first,
     ArrayIterator <T> last,
     Func <T, T, bool> comp
     )
 {
     return(first.IsHeapUntil(last, comp).IsEqual(last));
 }