Problem 60926. Greater than before

Given an array of integers, write a function that returns elements that are greater than the one before them.
For instance,
input = [1, 3, 2, 4, 3, 5]
output = [3, 4, 5]

Solution Stats

47.83% Correct | 52.17% Incorrect
Last Solution submitted on Oct 15, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers30

Suggested Problems

More from this Author174

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!