The Java (and Scala) type system is unsound

We, Nada Amin and Ross Tate, broke the Java and Scala type systems!

Similar

Backspaces in String Challenge Using Java

The challenge Assume "#" is like a backspace in string. This means that string "a#bc#d" actually is "bd" Your task is to process a string with "#" symbols. Examples Test cases The solution in Java Option 1: Option 2 (using regex): Option 3 (using substrin... (more…)

Read more »