Skip to content

Instantly share code, notes, and snippets.

@scottralph
scottralph / Digits.scala
Created Sep 30, 2021
Collatz Digits class
View Digits.scala
package collatz
import scala.collection.mutable.ListBuffer
import scala.collection.mutable.Set
class Digits(val digitSequence : Array[Byte]) {
val OUTPUT_DIGIT_WIDTH = 100
override def toString(): String = {
val sb = new StringBuilder()