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

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

DifficultyAllEasyMediumHardExpert
Tags
Clear
Sorting0-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 WindowSparse 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
Duplicate Membership IDs

learn-m1-duplicate-detector

ArraysHash MapSorting
ArraysHash MapSorting
Medium
0.0%(0/0)
200
Pairs Within Budget

learn-m1-complexity-m3

ComplexitySortingTwo Pointers
ComplexitySortingTwo Pointers
Medium0.0%(0/0)200
Group Anagram Words

learn-m2-hashing-x2

Hash MapHashingSorting+1
Hash MapHashingSorting+1
Medium0.0%(0/0)200
Sort and Remove Duplicates

learn-m2-stl-collections-g1

STLSetSorting
STLSetSorting
Easy0.0%(0/0)100
Rank Songs by Play Count

learn-m2-stl-collections-m1

Custom ComparatorHash MapSorting
Custom ComparatorHash MapSorting
Medium0.0%(0/0)200
K-th Largest Value

learn-m2-stl-collections-x1

HeapPriority QueueSorting
HeapPriority QueueSorting
Medium0.0%(0/0)200
Merge Booking Intervals

learn-m2-stl-collections-x2

GreedyIntervalsSorting
GreedyIntervalsSorting
Medium0.0%(0/0)200
Second Best Score

learn-m2-stl-collections-e3

STLSetSorting
STLSetSorting
Easy0.0%(0/0)100
Nearest Coffee Corners

learn-m2-stl-collections-m3

GeometryHeapSorting
GeometryHeapSorting
Medium0.0%(0/0)200
Sort the Shelf Page Counts

learn-m3-sorting-searching-g1

ArraysSorting
ArraysSorting
Easy0.0%(0/0)100
Merit List Rank Score

learn-m3-sorting-searching-e1

ArraysSorting
ArraysSorting
Easy0.0%(0/0)100
Count the Inversions

learn-m3-sorting-searching-h1

Divide and ConquerInversionsSorting
Divide and ConquerInversionsSorting
Hard0.0%(0/0)300
Three Way Split Around X

learn-m3-sorting-searching-x1

CountingImplementationSorting
CountingImplementationSorting
Easy0.0%(0/0)100
Honor Board Name Sort

learn-m3-sorting-searching-x2

Custom ComparatorSorting
Custom ComparatorSorting
Medium0.0%(0/0)200
Count Books Within Price

learn-m3-sorting-searching-e2

Binary SearchSortingUpper Bound
Binary SearchSortingUpper Bound
Easy0.0%(0/0)100
Nearest Temperature Reading

learn-m3-sorting-searching-e3

Binary SearchLower BoundSorting
Binary SearchLower BoundSorting
Easy0.0%(0/0)100
Place Routers Far Apart

learn-m3-sorting-searching-m2

Binary Search on AnswerGreedySorting
Binary Search on AnswerGreedySorting
Medium0.0%(0/0)200
Collect Registration Numbers

learn-m3-sorting-searching-m3

OrderingPermutationSorting
OrderingPermutationSorting
Medium0.0%(0/0)200
K-th Smallest Pair Distance

learn-m3-sorting-searching-h2

Binary Search on AnswerSortingTwo Pointers
Binary Search on AnswerSortingTwo Pointers
Hard0.0%(0/0)300
Count Pairs with Exact Total

learn-m3-two-pointers-sliding-window-g1

SortingTwo Pointers
SortingTwo Pointers
Easy0.0%(0/0)100
12