Skip to content
Snippets Groups Projects

Resolve "Diamond kata TS"

Merged Arnaud FREISMUTH requested to merge 115-diamond-kata-ts into master
All threads resolved!
+ 7
22
# Code Kata: Diamond
# Diamond
A diamond for a letter!
Résolution en TDD (enfin on a au moins essayé ...) et en TypeScript du kata [Diamond](https://codingdojo.org/kata/Diamond/).
Given a single letter, print a diamond starting with 'A' with the supplied letter at the widest point.
Example for 'A':
<pre>
A
</pre>
Example for 'B':
<pre>
A
B B
A
</pre>
Example for 'C':
<pre>
A
B B
C C
B B
A
</pre>
- **Auteurs** : Simon Gayet et Arnaud Freismuth
- **Date** : 17/05/2021
- **Langage** : TypeScript
- **Niveau** : Moyen
- **Replay** : [Twitch](https://www.twitch.tv/videos/1028951757)
Loading