Skip to content

streltcov/codewars_solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codewars kata solutions

CodeWars

  • Kata - an algorithm you have to solve in any programming language

  • Kyu - a digit that shows kata difficulty level or the user rank on the platform

Python kata

Kyu-3
  1. Make a spiral - [kata] [solution]
Kyu-4
  1. Snail - [kata] [solution]
  2. Roman numerals helper - [kata] [solution]
Kyu-5
  1. Calculate Variance - [kata] [solution]
  2. Number of trailing zeros of N - [kata] [solution]
  3. Did you mean ...? - [kata] [solution]
  4. RGB to HEX - [kata] [solution]
  5. Moving zeros to the end - [kata] [solution]

Kyu-6
  1. Mexican Wave - [kata] [solution]
  2. Multiplication tables - [kata] [solution]
  3. Array diff - [kata] [solution]
  4. Autocomplete! Yay! - [kata] [solution]
  5. Encrypt this! - [kata] [solution]
  6. If you can read this... - [kata] [solution]
  7. The Vowel Code - [kata] [solution]
  8. Dashatize it - [kata] [solution]
  9. Count characters in your string - [kata] [solution]
  10. Title Case - [kata] [solution]
  11. Sum of Digits/Digital Root - [kata] [solution]
  12. Break camelCase - [kata] [solution]
  13. Detect Pangram - [kata] [solution]
  14. Pascal's Triangle - [kata] [solution]
  15. Find the odd int - [kata] [solution]
  16. Ackermann function - [] []
  17. Valid Braces - [kata] [solution]
  18. Which are in - [kata] [solution]
  19. Write number in expanded form - [kata] [solution]

Kyu-7
  1. Square every digit - [kata] [solution]
  2. Sum of odd numbers - [kata] [solution]
  3. Disemvowel Trolls - [kata] [solution]
  4. List Filtering - [kata] [solution]
  5. Vowel Count - [kata] [solution]
  6. Reverse Letters in Sentence - [kata] [solution]
  7. transform an array into string [kata] [solution]
  8. Easy Wallpaper - [kata] [solution]
  9. Character concatenation - [kata] [solution]
  10. Friend or foe - [kata] [solution]
  11. Isograms - [kata] [solution]
  12. Transform an array into string - [kata] [solution]

Kyu-8
  1. Convert boolean values to strings 'Yes' or 'No' - [kata] [solution]
  2. Abbreviate a Two Word Name - [kata] [solution]
  3. Basic Mathematical Operations - [kata] [solution]
  4. Counting sheep... - [kata] [solution]
  5. Reverse List Order - [kata] [solution]
  6. Function 2 - squaring an argument - [kata] [solution]
  7. Pillars - [kata] [solution]
  8. Beginner - Lost Without a Map - [kata] [solution]
  9. Hello, Name or World! - [kata] [solution]
  10. Sentence Smash - [kata] [solution]
  11. Even or Odd - [kata] [solution]
  12. Reversed sequence - [kata] [solution]
  13. Do i get a bonus? - [kata] [solution]
  14. Multiply - [kata] [solution]
  15. Fuel calculator total cost - [kata] [solution]
  16. Beginner - you only need one - [kata] [solution]
  17. Sum mixed array - [kata] [solution]
  18. How good are you really - [kata] [solution]
  19. Beginner - lost without map - [kata] [solution]

Go Kata

Kyu-7
  1. Deodorant evaporator - [kata] [solution]
  2. Find the middle element - [kata] [solution]
  3. Jaden casing strings - [kata] [solution]
  4. Mumbling - [kata] [solution]
  5. Sort numbers - [kata] [solution]
  6. The highest profit wins - [kata] [solution]
Kyu-8
  1. Beginner - Reduce but grow - [kata] [solution]
  2. Catyears dogyears - [kata] [solution]
  3. Count by x - [kata] [solution]
  4. DNA to RNA conversion - [kata] [solution]
  5. Exclusive XOR logical operator - [kata] [solution]
  6. Find the smallest integer in the array - [kata] [solution]
  7. Grasshopper - Messi goals function - [kata] [solution]
  8. Grasshopper - terminal game move function - [kata] [solution]
  9. Make upper case - [kata] [solution]
  10. Opposite number - [kata] [solution]
  11. Quarter of the year - [kata] [solution]
  12. Remove first and last character - [kata] [solution]
  13. Remove string spaces - [kata] [solution]
  14. Square n sum - [kata] [solution]
  15. What is between - [kata] [solution]
  16. You can't code under pressure - [kata] [solution]

SQL Kata

Kyu-5
  1. SQL Basics: simple VIEW - [kata] [solution]
  2. SQL Statistics: min, median, max - [kata] [solution]
  3. Count weekdays - [kata] [solution]
Kyu-6
  1. Conditional count - [kata] [solution]
  2. Present JSON data the SQL way - [kata] [solution]
  3. SQL Basics: monsters using CASE - [kata] [solution]
  4. SQL Basics: simple null handling - [kata] [solution]
  5. SQL Basics: simple WITH - [kata] [solution]
Kyu-7
  1. Basics: length based select with LIKE - [kata] [solution]
  2. Best selling books - [kata] [solution]
  3. EASY SQL: cube root and natural log - [kata] [solution]
  4. Multiple maximum - [kata] [solution]
  5. SQL Basics: simple JOIN - [kata] [solution]
  6. SQL Basics: simple GROUP BY - [kata] [solution]
  7. SQL: concatenating columns - [kata] [solution]
  8. SQL with LOTR: elven wildcard - [kata] [solution]
  9. Sum of angles - [kata] [solution]
  10. Countries capitals for Trivia night - [kata] [solution]
Kyu-8
  1. Adults only - [kata] [solution]
  2. Collect tuition - [kata] [solution]
  3. EASY SQL: Lower case - [kata] [solution]
  4. EASY SQL: Ordering - [kata] [solution]
  5. EASY SQL: Rounding decimals - [kata] [solution]
  6. EASY SQL: Square root and log - [kata] [solution]
  7. On the Canadian border - [kata] [solution]
  8. Register for party - [kata] [solution]
  9. SQL Basics: mod - [kata] [solution]

JS Kata

Kyu-7 Kata
  1. Sum of two lowest positive integers - [kata] [solution]
Kyu-8 Kata
  1. Get ASCII value of the character - [kata] [solution]
  2. Fake binary - [kata] [solution]
  3. Find minimum and maximum values of a list - [kata] [solution]
  4. Find nearest square number - [kata] [solution]
  5. Hello, Name or World! - [kata] [solution]
  6. Is he gonna survive? - [kata] [solution]
  7. Beginner - Lost without map - [kata] [solution]
  8. Pillars - [kata] [solution]
  9. Rock paper scissors! - [kata] [solution]
  10. Beginner Series#1 - School paperwork - [kata] [solution]
  11. Sum arrays - [kata] [solution]
  12. Sum of positive - [kata] [solution]
  13. Sum without highest and lowest number - [kata] [solution]

FORTRAN Kata

Kyu-8
  1. Century from year - [kata] [solution]
  2. Grasshopper summation - [kata] [solution]
  3. Multiply - [kata] [solution]