BETA
All Problems of Priority-queue