Spreadsheets are pretty good for using when exploring the execution of an algorithm or computation graph. You can basically book keep every step of an execution.
Efficiencies or lack of it is visible in the spreadsheet in a very concrete way. How many used cells are there, how many “steps” or rows is required to finish a computation and how many times are cells addressed clearly relates to time and space complexity of an algorithm.