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 159 problems
Intermediate

Implement the isomorphicStringsCheck method that checks whether two strings follow the same character mapping pattern. Solved

Implement the containsDuplicateWithinK method that checks whether duplicate values appear within distance k. Solved

Intermediate

Implement the subarraySumEqualsKCount method that counts subarrays whose sum equals k. Solved

Intermediate

Implement the longestConsecutiveSequenceLength method that returns the length of the longest consecutive number sequence. Solved

Implement the twoSumUsingMap method that returns two indices that form the target sum using a hash map. 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.