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

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

DifficultyAllEasyMediumHardExpert
Tags
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
Pair Sum Exists

learn-m3-checkpoint-1

SortingTwo Pointers
SortingTwo Pointers
Medium
0.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
Count Tree Nodes

learn-m4-binary-trees-bst-g1

BFSBinary TreesCounting
BFSBinary TreesCounting
Easy0.0%(0/0)100
BST Search Queries

learn-m4-binary-trees-bst-g2

Binary Search TreeSearch
Binary Search TreeSearch
Easy0.0%(0/0)100
Tree Height in Edges

learn-m4-binary-trees-bst-e1

BFSBinary TreesHeight
BFSBinary TreesHeight
Easy0.0%(0/0)100
Validate Binary Search Tree

learn-m4-binary-trees-bst-m1

Binary Search TreeStackValidation
Binary Search TreeStackValidation
Medium0.0%(0/0)200
BST Insert and Delete

learn-m4-binary-trees-bst-h1

Binary Search TreeDeleteRecursion
Binary Search TreeDeleteRecursion
Hard0.0%(0/0)300
Count Leaf Nodes

learn-m4-binary-trees-bst-x1

Binary TreesDFSLeaf
Binary TreesDFSLeaf
Easy0.0%(0/0)100
Check Symmetric Tree

learn-m4-binary-trees-bst-x2

Binary TreesDFSSymmetry
Binary TreesDFSSymmetry
Easy0.0%(0/0)100
Tree Value Sum

learn-m4-binary-trees-bst-e2

Binary TreesDFSSum
Binary TreesDFSSum
Easy0.0%(0/0)100
Nodes at Level K

learn-m4-binary-trees-bst-e3

BFSBinary TreesLevels
BFSBinary TreesLevels
Easy0.0%(0/0)100
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
Dynamic K-th Smallest

learn-m4-binary-trees-bst-h2

Coordinate CompressionFenwick TreeOrder Statistics
Coordinate CompressionFenwick TreeOrder Statistics
Hard0.0%(0/0)300
Preorder Traversal

learn-m4-tree-traversals-g1

Binary TreesDFSPreorder
Binary TreesDFSPreorder
Easy0.0%(0/0)100
Inorder Traversal

learn-m4-tree-traversals-g2

Binary TreesDFSInorder
Binary TreesDFSInorder
Easy0.0%(0/0)100
Postorder Traversal

learn-m4-tree-traversals-e1

Binary TreesDFSPostorder
Binary TreesDFSPostorder
Easy0.0%(0/0)100
Rebuild Tree from Inorder and Preorder

learn-m4-tree-traversals-m1

Binary TreesReconstructionTraversal
Binary TreesReconstructionTraversal
Medium0.0%(0/0)200
Vertical Order Traversal

learn-m4-tree-traversals-h1

BFSBinary TreesSorting
BFSBinary TreesSorting
Hard0.0%(0/0)300
1…91011…28