
- By Liz Baker
- ·
- Posted 04 Feb 2023
It’s Kataday – String Calculator
String Calculator is a great follow up Test-Driven Development (TDD) kata to two of our favourite katas; Fizz Buzz andLeap Year.
This week we have a new kata created for us by Jordan Colgan; Stacks
In computing terms, a stack is an abstract data type that dates back to 1946 when Alan Turing documented the terms 'bury' and 'unbury' as a means of calling a returning subroutines.
The idea behind a stack, in computer terms, is that a stack is a collection of elements where you can add or remove from the collection:
In this week's kata; Stack, you are tasked with building a stack data type which supports not just push and pop but also:
As Jordan notes, day to day, you may not have to build a stack yourself, but you will very likely come across them in the form of a call stack, which is why this is an important kata to practice with.
Getting set up can be the roadblock to starting a kata. In our screenkatas you can join our Software Craftspeople and let them show you how to set up your repositories for Java, PHP, Python and Typescript. For other languages, check out our guide on GitHub.
Love our #kataday challenges? Then find them all here and don't forget that our Katalyst portal is filled with programming problems to expand and sharpen your coding skills.
String Calculator is a great follow up Test-Driven Development (TDD) kata to two of our favourite katas; Fizz Buzz andLeap Year.
This week, Emmanuel Valverde has set us another new kata to work through. Building on last week's kata, ATM machine, he has set us the task of..
This week, Emmanuel Valverde has set us a new kata to work through. Using the knowledge of Test-Driven Development (TDD), that you have been working..
Join our newsletter for expert tips and inspirational case studies
Your welcome email is on its way! You can pick the emails you’d like to receive by clicking the link to the Preference Centre.
Join our newsletter for expert tips and inspirational case studies
Your welcome email is on its way! You can pick the emails you’d like to receive by clicking the link to the Preference Centre.