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… Read more

Similar

Reordering Futures in Java Streams

Futures are an interesting conecpt in concurrent and parallel programming. I’ve written about them several time, the last time in Advanced Futures With Play Framework. Streams are a concept which came with Java 8 to operate on a stream of objects, transfo... (more…)

Read more »