Java

345 articles about java development, tools, and best practices

Base-2 in Java

The challenge

In this challenge you must convert integers numbers from and to a negative-base binary system.

Negative-base systems can accommodate all …

Read Article →

Block sequence in Java

The challenge

Consider the following array:

[1, 12, 123, 1234, 12345, 123456, 1234567, 12345678, 123456789, 12345678910, 1234567891011...]

If we join …

Read Article →