Python Coding Challenges
Practice problem-solving step by step. Code, run tests, and ask the AI Tutor for hints.
4 Challenges Available
medium
Binary Search
Write a function solution(arr, target) that performs binary search on a sorted list arr and returns ...
medium
Merge Two Sorted Lists
Write a function solution(a, b) that merges two sorted lists into one sorted list. Example soluti...
hard
All Permutations
Write a function solution(nums) that returns all permutations of a list of distinct integers, in any...
hard
Longest Common Subsequence
Write a function solution(s1, s2) that returns the length of the Longest Common Subsequence (LCS) of...