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 67 problems

Implement the longestPalindromicSubsequenceLength method that returns the length of the longest palindromic subsequence. Solved

Implement the editDistanceSimple method that returns the minimum edit operations needed to convert one string into another. Solved

Implement the longestCommonSubsequenceLength method that returns the length of the longest common subsequence of two strings. Solved

Implement the method minimumWindowLength that returns the length of the smallest substring containing all required characters. Solved

Implement the method countPalindromicSubstrings that counts all palindromic substrings. Solved

Implement the method longestUniqueSubstring that returns the length of the longest substring without repeated characters. Solved

Intermediate

Implement the method compressRuns that compresses consecutive repeated characters. Solved

Implement the method reverseWords that reverses the order of words in a string. 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.