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

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

DifficultyAllEasyMediumHardExpert
Tags
Clear
BFS0-1 BFS0/11D DP2D Difference Array2D Prefix SumActivity SelectionAll PairsAmortisedAnalyticsAncestorArgmaxArraysAssignmentAvailabilityBITBackoffBacktrackingBackward 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
Count Tree Nodes

learn-m4-binary-trees-bst-g1

BFSBinary TreesCounting
BFSBinary TreesCounting
Easy
0.0%(0/0)
100
Tree Height in Edges

learn-m4-binary-trees-bst-e1

BFSBinary TreesHeight
BFSBinary TreesHeight
Easy0.0%(0/0)100
Nodes at Level K

learn-m4-binary-trees-bst-e3

BFSBinary TreesLevels
BFSBinary TreesLevels
Easy0.0%(0/0)100
Vertical Order Traversal

learn-m4-tree-traversals-h1

BFSBinary TreesSorting
BFSBinary TreesSorting
Hard0.0%(0/0)300
Level Order Line by Line

learn-m4-tree-traversals-x1

BFSBinary TreesLevel Order
BFSBinary TreesLevel Order
Easy0.0%(0/0)100
Zigzag Level Order

learn-m4-tree-traversals-x2

BFSBinary TreesZigzag
BFSBinary TreesZigzag
Medium0.0%(0/0)200
Widest Tree Level

learn-m4-tree-traversals-e2

BFSBinary TreesLevels
BFSBinary TreesLevels
Easy0.0%(0/0)100
Shuttle Bus Distances

learn-m4-graph-traversal-g1

BFSGraphsShortest Path
BFSGraphsShortest Path
Easy0.0%(0/0)100
Two-Group Seating Check

learn-m4-graph-traversal-m1

BFSBipartiteGraphs
BFSBipartiteGraphs
Medium0.0%(0/0)200
Library Room Scan

learn-m4-graph-traversal-x2

BFSGraphsGrid
BFSGraphsGrid
Medium0.0%(0/0)200
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
Maze Exit Distance

learn-m4-graph-traversal-m2

BFSGraphsGrid
BFSGraphsGrid
Medium0.0%(0/0)200
Maze with One Wall Break

learn-m4-graph-traversal-h2

BFSGraphsState Expansion
BFSGraphsState Expansion
Hard0.0%(0/0)300
Messenger Reach Count

learn-m4-checkpoint-1

BFSGraphsReachability
BFSGraphsReachability
Medium0.0%(0/0)200
Tree Diameter

learn-m5-tree-bitmask-dp-g1

BFSDynamic ProgrammingTree
BFSDynamic ProgrammingTree
Easy0.0%(0/0)100