Second Largest

Find the second largest distinct value in an array.

Topics: tables, loops, algorithms. Solve this Luau challenge inside Luablox with visible examples and hidden tests.

Browse all Luau problems

Read a theory lesson