Code Challenges

Get better at coding with practice problems.

Coding Challenges

Select a problem, write code, run test cases, and submit your solution.

Start with beginner challenges
Showing 19 of 48 problems

Implement the longestIncreasingPathMatrix method that returns the longest strictly increasing path length in a matrix. Solved

Implement the surroundedRegionsSafeCount method that counts cells not captured in a surrounded-regions board. Solved

Implement the nearestZeroDistanceSum method that returns the sum of distances from every cell to its nearest zero. Solved

Implement the matrixBlockSumCenter method that returns the block sum around the center using distance k. Solved

Notifications

Updates are enabled for this browser.

Receive new tutorials, articles and learning resources. You can turn updates off anytime.

Test browser code

Use this code in admin to send a test notification to this browser.