Code Challenges

Get better at coding with practice problems.

Coding Challenges

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

Showing 5 of 5 problems

Implement the findSmallestMissingPositiveSorted method that finds the smallest positive integer missing from a sorted array. Solved

Implement the lastIndexOfTarget method that returns the last index where the target value appears. Solved

Implement the linearSearchIndex method that returns the first index of the target using linear search. Solved

Implement the method findSecondLargest that returns the second largest distinct integer in an array. Solved

Implement the method findMax that takes an array of integers and returns the largest (maximum) value in the array. Solved