Balanced Ternary is a numeral system similar to Binary that uses a signed-digit representation of numbers.
Possible symbols are -1, 0, and 1. Represented in this solution as -
, 0
, and +
.
- Basic C++ algorithmic solution to convert any number into the balanced ternary number system.
- A basic CMake setup for building the project.
Please keep in mind that the complexity of this solution was intentionally increased as a learning exercise, more efficient solutions are possible.