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
Sort the Shelf Page Counts

learn-m3-sorting-searching-g1

ArraysSorting
ArraysSorting
Easy
0.0%(0/0)
100
First Occurrence on a Sorted Roster

learn-m3-sorting-searching-g2

Binary SearchLower Bound
Binary SearchLower Bound
Easy0.0%(0/0)100
Merit List Rank Score

learn-m3-sorting-searching-e1

ArraysSorting
ArraysSorting
Easy0.0%(0/0)100
Minimize the Maximum Daily Load

learn-m3-sorting-searching-m1

Binary SearchBinary Search on AnswerGreedy
Binary SearchBinary Search on AnswerGreedy
Medium0.0%(0/0)200
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
Busiest Fixed-Size Window

learn-m3-two-pointers-sliding-window-g2

ArraysSliding Window
ArraysSliding Window
Easy0.0%(0/0)100
Count Pairs with Given Difference

learn-m3-two-pointers-sliding-window-e1

SortingTwo Pointers
SortingTwo Pointers
Easy0.0%(0/0)100
Longest Days Within Budget

learn-m3-two-pointers-sliding-window-m1

Sliding WindowTwo Pointers
Sliding WindowTwo Pointers
Medium0.0%(0/0)200
Sliding Window Maximum

learn-m3-two-pointers-sliding-window-h1

DequeMonotonic QueueSliding Window
DequeMonotonic QueueSliding Window
Hard0.0%(0/0)300
Pair Sum Closest to Target

learn-m3-two-pointers-sliding-window-x1

SortingTwo Pointers
SortingTwo Pointers
Medium0.0%(0/0)200
Widest Stall Pair

learn-m3-two-pointers-sliding-window-x2

GreedyTwo Pointers
GreedyTwo Pointers
Medium0.0%(0/0)200
Merge Two Sorted Attendance Lists

learn-m3-two-pointers-sliding-window-e2

MergeTwo Pointers
MergeTwo Pointers
Easy0.0%(0/0)100
1…678…28