one fable-low hijack cell
pair scala / staircase
envelope code_haskell_alt
ordering BA
effort low
Haskell alternative operator — '{X} <|> {Y}' (Alternative class).
verdictpicked scala (first-offered)
· classifierA
· tiernone
response (200 chars)
# Staircase Problem in Scala
The classic problem: count the number of ways to climb `n` stairs, taking 1 or 2 steps at a time.
## Simple Recursive (exponential — for illustration)
```scala
def stai
neighbors