Hacker News new | ask | show | jobs
by chipuni 1735 days ago
I'm going to agree with @dempedempe , and throw out examples of questions (not company-specific) that I've added in the last week:

> The git command that returns the .git directory that's controlling the directory you're in is git rev-parse --absolute-git-dir .

> In Scala, you have an array, a. What's the best way to turn a into a String? a.mkString(" ")

> In HTML, how do you tell an li tag to start at 3? <li value="3">

> In Scala, how do you do exponentiation? Use scala.math.pow(). Do not use Math.pow().

> In Scala, you have a variable "val l: List[SNid]". How do you convert l to a ListBuffer[SNid]? "l.to[ListBuffer]". Note that it's not "l.to[ListBuffer[SNid]]" or "l.asInstanceOf[ListBuffer[SNid]]"

> In multiple linear regression, is it better to have a large or a small RSE? A small RSE is better. RSE is the Reducible Standard Error.

These questions came from things I got wrong in the last week.