Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codewars TypeScript Solutions

A collection of my Codewars challenges.

Codewars is a great platform to sharpen problem-solving skills through short coding challenges called katas, in a more gamified format that offers a different type of problem than what you typically deal with studying front-end development.

It ranks katas and your own skill by a kyu system — the more katas you solve, the higher you climb, similar to a leveling system.

It's also a way to practice TypeScript in a more abstract way, engaging with a different side of the language and its mechanics than day-to-day front-end work usually calls for.

Exercises

Kyu reference

Codewars ranks problems from 8 kyu (easiest) to 1 kyu (hardest) - although that's quite relative. I'm starting at 8–7 kyu to build confidence with the platform and TypeScript syntax, then moving up as it makes sense.

Rank Rough equivalent
8–7 kyu Syntax, basics, simple logic
6–5 kyu Algorithms, data structures
4–3 kyu Complex problem solving
2–1 kyu More advanced algorithms

8-Kyu

Codewars - Convert Number to Reversed Array of Digits Codewars - Counting Sheep Codewars - Opposites Attract Codewars - Sum of Positive

7-Kyu

Codewars - Descending Order

6-Kyu

Codewars - ASCII Fighter Jet HUD Codewars - Build Tower Codewars - Decode the Morse Code Codewars - Detect Pangram Codewars - Does My Number Look Big in This Codewars - Duplicate Encoder Codewars - Help the Bookseller Codewars - Multiples of 3 and 5 Codewars - Multiplication Table Codewars - Tribonacci Sequence

5-Kyu

Codewars - ISBN-10 Validation Codewars - A Chain Adding Function Codewars - Convert a Hex String to RGB Codewars - Going to Zero or Infinity Codewars - Length of Long String TS Type Codewars - My Smallest Code Interpreter aka Brainfuck Codewars - Not Very Secure Codewars - Repeat a String Tuple TS Type

4-Kyu

Codewars - arrayToString and stringToArray Codewars - Catching Car Mileage Numbers Codewars - Decode the Morse Code Advanced Codewars - Regular Expression for Binary Numbers Divisible by 5 Codewars - Route Calculator Codewars - Smallest Possible Sum Codewars - Square into Squares Codewars - Sum of Intervals Codewars - Twice Linear

3-Kyu

Codewars - Esolang Interpreters 4 Boolfuck Interpreter Codewars - N Parasitic Numbers Ending in N

2-Kyu

Codewars - Decode the Morse Code For Real Codewars - Evaluate Mathematical Expression

Approach

  • Language Mastery: Deepening my understanding of TypeScript features, strict typing, interfaces, and advanced utility types.
  • Algorithmic Thinking: Learning more about algorithms, Big O and problem-solving strategies.

Project Structure

codewars-typescript/
├── 8-kyu/
│   ├── name-of-exercise/
│   │   ├── README.md
│   │   └── solution.ts
│   └── name-of-exercise/
│       ├── README.md
│       └── solution.ts
├── 7-kyu/
│   └── ...
└── README.md

Each kata folder contains

  • README.md — the original problem statement
  • solution.ts — my solution (sometimes multiples solutions)

Coding Philosophy

When solving these Katas, my priority is readability and maintainability over "clever" one-liners. Learning the different applications of the language.

My Codewars Profile

Feel free to view my progress and badges directly on my Codewars profile: @psudo-dev

About

Repository dedicated to storing my TypeScript solutions for Codewars challenges (Katas). This repo serves as a personal archive for practicing problem-solving, mastering native TypeScript array methods, and sharpening algorithmic thinking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages