Skip to content

BrettCrafton/CodeWars-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code War Solutions - Brett Crafton

Solutions to CodeWars that I have completed.

Codewars

If you have not completed these yourself, be aware these contain spoilers.

Click a link at bottom to view in following format:
project example

My approach:

Some solutions will be done with best practices in mind, some I will try to do in 1 line, and some I timed myself (speed was most important factor). All to better challenge myself.

Some challenges I have adopted the P.R.E.P. method. "Parameters, Return, Examples, Pseudo Code"

Links:

These links are not an exhaustive list. The files above are.

8Kyu

Click to view solved 8 kyu

Power of 2

Will you make it

Opposites Attract

Convert a string to an array

Beginner - Reduce but Grow

Can we divide it

Count by X

Count of positives sum of negatives

Count the Monkeys

How good are you really

Is it a palindrome

Quarter of the year

Remove exclamation marks

Simple multiplication

Sum Mixed Array

Sum without highest and lowest number

USD to CNY

Hello, Name or World!

Sum the Strings

Is it Even?

Reverse List Order

Filter out the geese

Double Char

Twice as old

Rock Paper Scissors

Basic variable assignment

Area or Perimeter

Do I get a bonus?

Sentence Smash

Array plus array

Sentence Smash

You only need one - Beginner

Sum The Strings

Semi-Optional

What is Between

Find Maximum and Minimum Values of a List

Hex to Decimal

Heads and Legs

Find the Remainder

Sum of Multiples

Well of Ideas - Easy Version

Vowel Remover

DNA to RNA Conversion

Sum Arrays

Reversed sequence

Is the date today

Calculate average

Calculate BMI

Is he gonna survive?

Fake Binary

MakeUpperCase

Find the first non-consecutive number

Function 3 - multiplying two numbers

Merge two sorted arrays into one

Count Odd Numbers below n

Reversed Words

Get the mean of an array

Beginner Series #2 Clock

Invert values

Jenny's secret message

Beginner - Lost Without a Map

Convert a Boolean to a String

A Needle in the Haystack

Square(n) Sum

Abbreviate a Two Word Name

Is n divisible by x and y?

Convert number to reversed array of digits

Basic Mathematical Operations

Grasshopper - Summation

Century From Year

Function 1 - hello world

Remove String Spaces

Find the smallest integer in the array

Remove First and Last Character

String repeat

Return Negative

Reversed Strings

Convert boolean values to strings 'Yes' or 'No'

Opposite number

About

Solutions to https://www.codewars.com/ (Code Wars) that I have completed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published