Implement == for a custom Optional
Task
You have your own Optional. Make it Equatable, but only when T: Equatable.
enum Optional<T> {
case some(T)
case none
}
The rest of this answer, with code and interview follow-ups, is in the DevPrep app.
Read the full answer in DevPrep