PAU OJ Online Judge
ProblemsLearnStudy plansContestsSubmissionsRank

Updates

Announcements and upcoming contests

Loading announcements…
Sign in for personal alertsBrowse contests
Log inSign up

PAU OJ

PrimeAsia University Online Judge

A real online judge for programming practice, university contests and coding assessments. Write code in your browser, get sandboxed verdicts, and track your progress.

Platform

  • Problems
  • Contests
  • Submissions
  • Ranking
  • Reviewers

Resources

  • User guide
  • Changelog
  • How judging works
  • System health
  • Create an account

© 2026 PrimeAsia University Online Judge. All rights reserved.

v0.9.0

Practice

Problems

227 problems ready for you. Filter by difficulty or tag, then open the editor.

DifficultyAllEasyMediumHardExpert
Tags
Clear
0-1 BFS0/11D DP2D Difference Array2D Prefix SumActivity SelectionAll PairsAmortisedAnalyticsAncestorArgmaxArraysAssignmentAvailabilityBFSBITBackoffBacktrackingBackward DPBase62Bellman-FordBinaryBinary ExponentiationBinary Indexed TreeBinary LiftingBinary SearchBinary Search TreeBinary Search on AnswerBinary TreesBinary TrieBipartiteBipartite MatchingBit ManipulationBitmaskBitonicBitwise ANDBlocksBottleneckBoundedBounded EdgesBranchingBuild CacheBuild ContextCDNCI/CDCachingCapacity PlanningCode ReviewCoin ChangeCoinsCollaborationCombinatoricsComplexityConcatenationConditionalsConnected ComponentsConsistent HashingConstraint SatisfactionContainersCoordinate CompressionCountingCustom ComparatorCycle DetectionDAGDDLDFSDMLDPDSUDecompositionDegreeDeleteDeployment GateDequeDevOpsDiameterDifference ArrayDigitsDijkstraDinicDistanceDivide and ConquerDivisorsDockerDocker ComposeDynamic ProgrammingEdit DistanceEncodingEstimationEuler TotientEuler TourEventual ConsistencyExchange ArgumentExpressionFactorialFactorialsFalling PathFenwick TreeFibonacciFloyd-WarshallFormulasFrequencyFrogGCDGame TheoryGeometryGitGitHubGitHub ActionsGraphsGreedyGreedy CheckGridGroupedGrundy NumberHLDHash MapHash SetHashingHealthcheckHeapHeap SortHeapsHeightHistogramHuffmanIdempotencyImplementationIn-PlaceIncidentIndependent SetIndexesInorderInput OutputInterval DPInterval SchedulingIntervalsInversionsJosephusK-way MergeKMPKadaneKnapsackKruskalLCALCMLCSLISLRULatencyLazyLazy PropagationLeafLeavesLevel OrderLevelsLinear RecurrenceLinked Hash MapLinked ListLoad BalancingLoopsLower BoundLucas TheoremMSTMatchingMathMatrixMatrix BuildMatrix ExponentiationMax FlowMaximumMedianMemoisationMemoizationMergeMerge ConflictMerge Sort TreeMergingMin CutMinimumMinimum PathModular ArithmeticModuloMonotonic QueueMonotonic StackMulti-sourceMulti-stage BuildMultisetNegative CycleNetwork FlowNimNumber TheoryOffline QueriesOnline ConnectivityOnline QueriesOrder StatisticsOrdered DictOrderingPalindromePalindromesParityParsingPartitionPathPath QueryPath UpdatePatternPaymentsPerformancePermutationPoint UpdatePointersPostorderPrefixPrefix SumPrefix SumsPrefix XORPreorderPrime FactorizationPrimesPriority QueueProduction ReviewProjectPruningQueriesQueueRange AssignRange QueryRange UpdateRate LimitingReachabilityRebalancingReconstructionRecoveryRecursionReleaseReliabilityRemoteReplicationRerootingRetryReversalRollbackRound RobinRuntimeSLOSQLSTLSchedulingSearchSecretsSecuritySegment TreeSelectionSetShardingShortest PathSieveSimulationSliding WindowSortingSparse TableSprague-GrundySquaresStackState ExpansionState MachineStringString MatchingStringsSubarraySubarraysSubset SumSubsetsSubstringSubtreeSubtree QuerySumSweep LineSymmetrySystem DesignTSPTTLToken BucketTop-KTopological SortTransactionsTraversalTreeTreesTriangleTrieTwo BagsTwo HeapsTwo PointersTwo SumTwo WalkersTwo's ComplementURL ShortenerUnboundedUnion FindUpper BoundValidationVersion ControlViewsWeighted DistanceWord BreakXORZ AlgorithmZigzagbasics
StatusProblemTagsDifficultyAcceptancePoints
Leaf Values Left to Right

learn-m4-tree-traversals-e3

Binary TreesDFSLeaves
Binary TreesDFSLeaves
Easy
0.0%(0/0)
100
K-th Largest Number

learn-m4-heaps-priority-queues-g1

HeapSelectionTop-K
HeapSelectionTop-K
Easy0.0%(0/0)100
Top K Frequent Values

learn-m4-heaps-priority-queues-g2

Hash MapHeapTop-K
Hash MapHeapTop-K
Easy0.0%(0/0)100
Smash the Stones

learn-m4-heaps-priority-queues-e1

GreedyHeapSimulation
GreedyHeapSimulation
Easy0.0%(0/0)100
K-th Smallest Number

learn-m4-heaps-priority-queues-x1

HeapSelectionTop-K
HeapSelectionTop-K
Easy0.0%(0/0)100
Heap Sort Ascending

learn-m4-heaps-priority-queues-e2

Heap SortHeaps
Heap SortHeaps
Easy0.0%(0/0)100
K Closest Benches

learn-m4-heaps-priority-queues-e3

GeometryHeapsSelection
GeometryHeapsSelection
Easy0.0%(0/0)100
Shuttle Bus Distances

learn-m4-graph-traversal-g1

BFSGraphsShortest Path
BFSGraphsShortest Path
Easy0.0%(0/0)100
Count Hostel Blocks

learn-m4-graph-traversal-g2

Connected ComponentsDFSGraphs
Connected ComponentsDFSGraphs
Easy0.0%(0/0)100
Dorm Wi-Fi Degrees

learn-m4-graph-traversal-e1

DegreeGraphsImplementation
DegreeGraphsImplementation
Easy0.0%(0/0)100
Farthest Reachable Node

learn-m4-graph-traversal-e2

BFSGraphsShortest Path
BFSGraphsShortest Path
Easy0.0%(0/0)100
BFS Visit Order

learn-m4-graph-traversal-e3

BFSGraphsOrdering
BFSGraphsOrdering
Easy0.0%(0/0)100
Evening Bike Routes

learn-m4-shortest-paths-g1

DijkstraGraphsShortest Path
DijkstraGraphsShortest Path
Easy0.0%(0/0)100
Cashback Lanes

learn-m4-shortest-paths-g2

Bellman-FordGraphsShortest Path
Bellman-FordGraphsShortest Path
Easy0.0%(0/0)100
One Trip to the Lab

learn-m4-shortest-paths-e1

DijkstraGraphsShortest Path
DijkstraGraphsShortest Path
Easy0.0%(0/0)100
Cheapest Park Walk

learn-m4-shortest-paths-e2

DijkstraGraphsGrid
DijkstraGraphsGrid
Easy0.0%(0/0)100
Nearest Medical Center

learn-m4-shortest-paths-e3

DijkstraGraphsMulti-source
DijkstraGraphsMulti-source
Easy0.0%(0/0)100
Club Team Queries

learn-m4-mst-dsu-g1

DSUGraphsUnion Find
DSUGraphsUnion Find
Easy0.0%(0/0)100
Campus Network Cables

learn-m4-mst-dsu-g2

GraphsKruskalMST
GraphsKruskalMST
Easy0.0%(0/0)100
Extra Bridges Needed

learn-m4-mst-dsu-e1

Connected ComponentsDSUGraphs
Connected ComponentsDSUGraphs
Easy0.0%(0/0)100
1…567…12