← Contests/Weekly Contest #47
1,892 participants
90 min

Scala Typeclass Derivation

ScalaSystem DesignPython

Implement a Show typeclass with generic derivation using Scala 3 inline & mirror. Derive JSON encoder automatically.

Test Cases
Input:User("Alice",30)
Expected: Show[User] derived auto
Contest Info
Duration

90 min

Participants

1,892

Prize

🏆 1st: Arjun M.

Difficulty

Hard

Winner

🏆 Arjun M.

Leaderboard
1YouYou
4/4 solved · 32 min
2Ananya S.
3/4 solved · 52 min
3Rahul V.
3/4 solved · 61 min
4Priya K.
2/4 solved · 28 min
5Amit R.
2/4 solved · 43 min
View full leaderboard →
Solution
1
Output
Run your code to see output here.
Archived Contest

This contest has ended. You can still browse the challenges and review solutions. Winner: Arjun M.