Important! : These solutions for education purpose only. Don't directly use them on Codewars katas. Create your own solutions to learn more.
Kata(s) | Solution(s) | Subject | CW Link |
---|---|---|---|
Human readable duration format | 1 | str , format , time |
link |
Strip Comments | 2 | str , format |
link |
Kata(s) | Solution(s) | Subject | CW Link |
---|---|---|---|
First non-repeating character | 1 | str , search |
link |
Greed is Good | 1 | int , array , dict , list , hashmap |
link |
Human Readable Time | 2 | str , format , time |
link |
Largest product in a series | 1 | int , math |
link |
Moving Zeros To The End | 1 | array , list , sort |
link |
Not very secure | 2 | str , valid , data types |
link |
Pete, the baker | 1 | hashmap , dict , data types |
link |
Scramblies | 1 | str , set , data types |
link |
Simple Pig Latin | 1 | str , format |
link |
String incrementer | 1 | str , format , regex |
link |
Where my anagrams at? | 2 | str , array , list , anagram |
link |
The Hashtag Generator | 2 | str , format |
link |
Kata(s) | Solution(s) | Subject | CW Link |
---|---|---|---|
+1 Array | 1 | array , list , data types |
link |
Are you available? | 1 | array , list , time |
link |
Array.diff | 2 | array , list , data types |
link |
Arrh, grabscrab! | 2 | str , array , list , dict , search , data types |
link |
Bit Counting | 1 | int , binary , data types |
link |
Break camelCase | 1 | str , format , data types |
link |
CamelCase Method | 2 | str , format , data types |
link |
Character with longest consecutive repetition | 1 | str , format , list , array |
link |
Christmas tree | 1 | str , format , list , array |
link |
Convert string to camel case | 2 | str , format , data types |
link |
Count characters in your string | 1 | str , dict , hashmap , data types |
link |
Count letters in string | 2 | str , dict , hashmap , data types |
link |
Count the smiley faces! | 1 | str , array , list , data types |
link |
Counting Duplicates | 1 | str , dict , hashmap , data types |
link |
Create Phone Number | 2 | str , format , array , list , data types |
link |
Dashatize it | 2 | int , str , format |
link |
Decode the Morse code | 1 | int , str , format , list , array , dict , hashmap |
link |
Delete occurrences of an element if it occurs more than n times | 1 | format , array , list , sort |
link |
Does my number look big in this? | 1 | int , math |
link |
Duplicate Encoder | 1 | str , format , array , list |
link |
Drunk friend | 1 | str , format , decode |
link |
Easy Balance Checking | 1 | str , format , list , array |
link |
Find the missing letter | 1 | str , array , list |
link |
Find the Nexus of the Codewars Universe | 1 | dict , hashmap |
link |
Find the odd int | 1 | array , list , search |
link |
Find The Parity Outlier | 1 | array , list , search |
link |
Find the unique number | 1 | array , list , int |
link |
Format a string of names like 'Bart, Lisa & Maggie' | 1 | str , dict , hashmap , format |
link |
Get recursion limit | 1 | recursion |
link |
Highest Scoring Word | 1 | str , array , list |
link |
Meeting | 2 | str , array , list , format |
link |
Mexican Wave | 1 | str , array , list , format |
link |
More Zeros than Ones | 1 | str , binary , array , list , sort |
link |
Mutual Recursion | 1 | recursion , math |
link |
New Cashier Does Not Know About Space or Shift | 1 | str , array , list , sort |
link |
Pyramid Array | 1 | str , array , list |
link |
Remove the parentheses | 1 | str , format , regex |
link |
Replace With Alphabet Position | 1 | str , array , list , sort |
link |
Replacement | 2 | int , array , list , sort |
link |
Sequence convergence | 1 | int , array , list , count |
link |
Simplify the number! | 1 | str , int , format |
link |
Sort the odd | 1 | int , array , list , sort |
link |
Split Strings | 1 | str , array , list |
link |
String array duplicates | 1 | str , array , list , format |
link |
String Breakers | 2 | str , array , list , format |
link |
Stop gninnipS My sdroW! | 1 | str , array , list , format |
link |
Sum of a Sequence (Hard-Core Version) | 2 | str , array , list , math |
link |
Sum of Digits / Digital Root | 2 | int , math |
link |
Sums of Parts | 2 | int , array , list |
link |
Take a Number And Sum Its Digits Raised To The Consecutive Powers And ....¡Eureka!! | 2 | int , array , list , sort |
link |
The Vowel Code | 2 | str |
link |
Title Case | 1 | str , format |
link |
Tracking Sums in a Process | 2 | list , array |
link |
Turn String Input into Hash | 1 | list , array , str , format , dict , hashmap |
link |
Unique In Order | 1 | str , array , list , sort |
link |
Upside down numbers | 1 | str , array , list , dict , hashmap |
link |
What will be the odd one out? | 2 | str , array , list , dict , sort |
link |
Which are in? | 1 | str , array , list |
link |
Write Number in Expanded Form | 1 | str , int , format |
link |
Your order, please | 2 | str , format |
link |
Kata(s) | Solution(s) | Subject | CW Link |
---|---|---|---|
Anagram Detection | 2 | str , anagram |
link |
Are the numbers in order? | 1 | str , sort |
link |
ASCII letters from Number | 1 | str , format , ascii , array , list |
link |
Balanced Number (Special Numbers Series # 1 ) | 3 | int , math |
link |
Basic Sequence Practice | 1 | int , numbers , math , arithmetic , list , array |
link |
Beginner Series # 3 Sum of Numbers | 1 | int , math |
link |
Building Strings From a Hash | 1 | str , dict , hashmap , sort |
link |
Calculate Meal Total | 1 | int , float , math |
link |
Categorize New Member | 1 | str , array , list |
link |
Ce-s-r-d Strings | 1 | str , format , list , array |
link |
Char Code Calculation | 1 | str , array , list , arithmetic |
link |
char_to_ascii | 1 | str , dict , hashmap |
link |
Check digit | 1 | str , int , index |
link |
Colour Association | 1 | str , dict , array , hashmap , list |
link |
Coloured Triangles | 1 | str , format , control flow |
link |
Combine objects | 1 | dict , hashmap |
link |
Complete Series | 1 | list , array |
link |
Complete The Pattern # 1 | 1 | array , list , str |
link |
Convert boolean values to strings 'Yes' or 'No' | 1 | str , bool |
link |
Convert Hash To An Array | 1 | array , list , dict , hashmap |
link |
Count the divisors of a number | 1 | int , math |
link |
Credit Card Mask | 1 | str , hashmap |
link |
Descending Order | 1 | int , array , str , list , sort |
link |
Dictionary from two lists | 2 | dict , hashmap , list , array |
link |
Disemvowel Trolls | 2 | array , str , list |
link |
Elevator Distance | 2 | int , array , list |
link |
Exes and Ohs | 2 | str |
link |
Find all occurrences of an element in an array | 2 | str |
link |
Find the capitals | 2 | str , array , list |
link |
Find the divisors! | 2 | array , list |
link |
Find The Duplicated Number in a Consecutive Unsorted List | 1 | array , list |
link |
Find the middle element | 1 | array , list |
link |
Find the stray number | 1 | array , list |
link |
Fizz Buzz | 1 | array , list |
link |
Form The Largest | 1 | str , array , list |
link |
Form The Minimum | 2 | str , array , list , dict , hashmap |
link |
Four/Seven | 1 | dict , hashmap |
link |
Frequency sequence | 1 | array , list , format , dict , hashmap |
link |
Friend or Foe? | 1 | array , list |
link |
Get the Middle Character | 1 | str , array , list |
link |
Help Bob count letters and digits | 1 | str ,array , list |
link |
Hex Hash Sum | 1 | str ,array , list , format |
link |
Highest and Lowest | 1 | str ,array , list |
link |
How much will you spend? | 1 | array , list , dict , hashmap |
link |
HTML Generator | 2 | str , format |
link |
Inverting a Hash | 1 | dict , hashmap |
link |
Is this a triangle? | 1 | int , math |
link |
Isograms | 2 | str , array , list , dict , hashmap |
link |
Jaden Casing Strings | 1 | str , format |
link |
Keep the Order | 1 | int , sort , numbers , array , list |
link |
Largest 5 digit number in a series | 1 | int , sort , numbers , array , list |
link |
Largest Elements | 1 | int , sort , numbers , array , list |
link |
Largest pair sum in array | 1 | array , list , sort |
link |
List Filtering | 1 | str , int , sort , numbers , array , list |
link |
Make a function that does arithmetic! | 1 | str , int , numbers , arithmetic |
link |
Maximum Multiple | 2 | int , numbers , arithmetic , list , array |
link |
Most sales | 1 | int , numbers , arithmetic , list , array |
link |
Most valuable character | 1 | str , dict , hashmap , list , array , lambda |
link |
Moves in squared strings (I) | 1 | str , sort , list , array |
link |
Mumbling | 1 | str , format , list , array |
link |
My Languages | 1 | dict , hashmap , list , array , sort , lambda |
link |
Naughty or Nice | 1 | str , dict , hashmap , json |
link |
No Loops 2 - You only need one | 1 | boolean , int , numbers |
link |
Number Of Occurrences | 1 | int , numbers , list , array , search |
link |
Number of People in the Bus | 1 | int , numbers , list , array |
link |
Number to digit tiers | 1 | str , format , int , numbers , list , array |
link |
Numbers in strings | 1 | str , format int , numbers , list , array |
link |
Odd or Even? | 1 | int , numbers , list , array |
link |
Ones and Zeros | 1 | int , numbers , list , array , binary |
link |
Ordering the words! | 1 | str , sort , list , array |
link |
Over The Road | 1 | math |
link |
Pandemia | 1 | str |
link |
Parts of a list | 2 | str , link , array , tuple |
link |
Person Class Bug | 1 | class , oop , str |
link |
Player Contact Manager | 1 | dict , hashmap , json , list , array |
link |
Polydivisible Numbers | 2 | int , numbers , arithmetic |
link |
Populate hash with array keys and default value | 2 | dict , hashmap , list , array , json |
link |
Previous multiple of three | 3 | arithmetic , list , array |
link |
Product Of Maximums Of Array (Array Series # 2) | 1 | list , array |
link |
Re-organize the weapons! | 1 | dict , hashmap , format |
link |
Recursion 101 | 1 | recursion , math |
link |
Refactored Greeting | 1 | str , class , oop |
link |
Regexp Basics - is it a vowel? | 1 | str |
link |
Remove anchor from URL | 3 | str , search , format |
link |
Remove duplicate words | 2 | str , array , list , sort |
link |
Remove the minimum | 1 | int , numbers , list , array |
link |
Replace all items | 1 | str , format , int , numbers , list , array |
link |
Return the closest number multiple of 10 | 2 | int , numbers , arithmetic |
link |
Reverse a Number | 1 | str , int , numbers , sort |
link |
Reverse words | 1 | str , list , array , format |
link |
Row Weights | 3 | list , array |
link |
Search for letters | 1 | list , array , format , str |
link |
Selective fear of numbers | 1 | str , control flow , numbers , int |
link |
Shortest Word | 1 | str , list , array |
link |
Simple consecutive pairs | 1 | list , array , loops , counter |
link |
Square Every Digit | 1 | int , numbers , arithmetic |
link |
Sort array by string length | 3 | str , list , array , sort |
link |
Sort Out The Men From Boys | 2 | list , array , set , sort , lambda |
link |
Sorting Dictionaries | 1 | list , array , tuple , dict , hashmap , sort , lambda |
link |
Special Number (Special Numbers Series # 5) | 2 | int , number , list , array |
link |
String ends with? | 1 | str , search |
link |
String matchup | 1 | array , list , count |
link |
STRONGN Strong Number (Special Numbers Series # 2) | 1 | int , numbers , list , array |
link |
Sum it continuously | 1 | int , arithmetic , list , array |
link |
Sum of angles | 1 | int , numbers , geometry |
link |
Sum of Minimums! | 2 | int , numbers , list , array |
link |
Sum of a sequence | 2 | int , numbers , arithmetic , list , array |
link |
Sum of two lowest positive integers | 1 | int , numbers , arithmetic , list , array |
link |
Summing a number's digits | 1 | int , numbers , arithmetic , list , array |
link |
Summy | 1 | str , int , numbers , arithmetic , list , array |
link |
Swap items in a dictionary | 1 | dict , hashmap |
link |
Testing 1-2-3 | 1 | str , list , array , format |
link |
The highest profit wins! | 1 | str , list , array |
link |
Thinkful - Dictionary Drills: User contacts | 1 | dict , hashmap , list , array |
link |
Triangle area | 2 | math , str , format , list , array |
link |
Two Oldest Ages | 1 | int , numbers , list , array , sort |
link |
Two to One | 1 | str , format , list , array , sort , set |
link |
Unique string characters | 1 | str , format , list , array |
link |
"Very Even" Numbers | 2 | int , numbers , arithmetic |
link |
Vowel Count | 2 | str , search , list , array |
link |
What time is it? | 1 | str , format , time |
link |
Which triangle is that? | 1 | math , tuple , dict , hashmap |
link |
Words to sentence | 1 | str , list , array , format |
link |
Working with Dictionaries | 3 | dict , hashmap , list , array |
link |