Online Judege Demo. Currently support Python and Java.

Given a schedule of N buses departure time and the capacity of bus, find out the latest time you may

Given a string S of lowercase letters, you need to find as many as substrings from the S that meets

Given a string S of lowercase letters, partition S into as many as parts so that one letter only app

Given a binary tree, find out every tree node where its value equal to the average of all nodes in t

Find out the minimum number of routers to cover the full range of array...

Find out the length of longest monotonic path starting from any node to its descendent node in a bin

In an array of integer, array[i] denotes the error rate of server i. An alert gets triggered when fo

Find out the length of longest monotonic path starting from the root node of a binary search tree...

Given a chat log, find out the top K users who text the most words in total...

Given a sorted array of integers and a target number, return the count of the target number.

Write an algorithm that identifies the top N toys out of a list of quotes and list of toys...

Your server has received a package of N incoming requests. Handling the K-th request (for K from 0 t

Design a data structure to return the next word in the dictionary...

Given two lists of intervals, each interval denoted as [start, end], find the intersection (overlapp

Find the longest diameter of a m-ary tree.

Given an undirected graph, find out all the vertices when removed will make the graph disconnec

Given a 2D grid, each cell is either a zombie or a human. Zombies can turn adjacent (up/down/left/ri

Find critical connections in a data center...

Your server has received a package of N incoming requests. Handling the K-th request (for K from 0 t