↶ lobby  ·  fable  ·  hijack  ·  en_slash_q  ·  scala / staircase · AB

one fable-low hijack cell

pair scala / staircase envelope en_slash_q ordering AB effort low
English with slash + question mark — '{X}/{Y}?'
verdictpicked staircase (second-offered)  ·  classifierB · tiernone

response (200 chars)

# Staircase in Scala

Classic HackerRank problem: print a right-aligned staircase of `#` of height `n`.

```scala
def staircase(n: Int): Unit = {
  for (i <- 1 to n) {
    println(" " * (n - i) + "#" 

neighbors

ordering BAenvelope chinese_casual (AB)envelope code_caret (AB)envelope code_haskell_alt (AB)envelope code_pipe_pipe (AB)envelope de_oder (AB)envelope en_arrow (AB)envelope en_bare_or (AB)envelope en_bare_or_p (BA)anchor view all 60 cells across efforts × anchors