
Episode 135: 🇸🇮 Slovenia 🇸🇮 2023 Road Trip!
ADSP: Algorithms + Data Structures = Programs
00:00
How to Remove the Leading Zeros Off of Strings
A Ray language is one that treats Booleans as just a subset of the sort of values that integers can take. A min scan after you transform your string into a sequence, or not necessarily a sequence, you basically create a sequence of trues and falses where the ones correspond to if it's a space or not. The logical and an or are just the min and max in the space of zeros and ones in a Ray language because Booleans are just zeros and Ones.
Transcript
Play full episode