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

234 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
Minimum Platforms at the Gate

learn-m3-greedy-x2

GreedySortingTwo Pointers
GreedySortingTwo Pointers
Medium
0.0%(0/0)
200
Complete the Fuel Circuit

learn-m3-greedy-m2

ArraysGreedyPrefix Sum
ArraysGreedyPrefix Sum
Medium0.0%(0/0)200
Minimize Total Late Penalty

learn-m3-greedy-m3

Exchange ArgumentGreedySorting
Exchange ArgumentGreedySorting
Medium0.0%(0/0)200
Pair Sum Exists

learn-m3-checkpoint-1

SortingTwo Pointers
SortingTwo Pointers
Medium0.0%(0/0)200
Divisible Subarray Count

learn-m3-checkpoint-2

Hash MapModuloPrefix Sum
Hash MapModuloPrefix Sum
Medium0.0%(0/0)200
Minimize the Largest Pair Sum

learn-m3-checkpoint-3

GreedySortingTwo Pointers
GreedySortingTwo Pointers
Medium0.0%(0/0)200
Validate Binary Search Tree

learn-m4-binary-trees-bst-m1

Binary Search TreeStackValidation
Binary Search TreeStackValidation
Medium0.0%(0/0)200
BST Range Sum

learn-m4-binary-trees-bst-m2

Binary Search TreePruningSum
Binary Search TreePruningSum
Medium0.0%(0/0)200
Pair with Given Sum in BST

learn-m4-binary-trees-bst-m3

Binary Search TreeInorderTwo Pointers
Binary Search TreeInorderTwo Pointers
Medium0.0%(0/0)200
Rebuild Tree from Inorder and Preorder

learn-m4-tree-traversals-m1

Binary TreesReconstructionTraversal
Binary TreesReconstructionTraversal
Medium0.0%(0/0)200
Zigzag Level Order

learn-m4-tree-traversals-x2

BFSBinary TreesZigzag
BFSBinary TreesZigzag
Medium0.0%(0/0)200
Rebuild Tree from Preorder and Postorder

learn-m4-tree-traversals-m2

Binary TreesReconstructionTraversal
Binary TreesReconstructionTraversal
Medium0.0%(0/0)200
Tree Diameter in Edges

learn-m4-tree-traversals-m3

Binary TreesDFSDiameter
Binary TreesDFSDiameter
Medium0.0%(0/0)200
Minimum Meeting Rooms

learn-m4-heaps-priority-queues-m1

HeapSchedulingSorting
HeapSchedulingSorting
Medium0.0%(0/0)200
Minimum Cost to Connect Ropes

learn-m4-heaps-priority-queues-x2

GreedyHeapHuffman
GreedyHeapHuffman
Medium0.0%(0/0)200
Task Cooling Gap

learn-m4-heaps-priority-queues-m2

CountingGreedyHeaps
CountingGreedyHeaps
Medium0.0%(0/0)200
Merge K Sorted Lists

learn-m4-heaps-priority-queues-m3

HeapsK-way MergeMerging
HeapsK-way MergeMerging
Medium0.0%(0/0)200
Two-Group Seating Check

learn-m4-graph-traversal-m1

BFSBipartiteGraphs
BFSBipartiteGraphs
Medium0.0%(0/0)200
Friend Circle Queries

learn-m4-graph-traversal-x1

Connected ComponentsGraphsQueries
Connected ComponentsGraphsQueries
Medium0.0%(0/0)200
Library Room Scan

learn-m4-graph-traversal-x2

BFSGraphsGrid
BFSGraphsGrid
Medium0.0%(0/0)200
1…345…12