Rust 大小堆

Rust 大小堆

use std::{cmp::Reverse, collections::BinaryHeap};
type  BigHeap<T> =  BinaryHeap<T>;
type  MiniHeap<T> =  BinaryHeap<Reverse<T>>;
本作品采用《CC 协议》,转载必须注明作者和本文链接
謎麟