- JavaScript
- CoffeeScript
- Ruby
- TypeScript
- Go
- Lua
- Crystal
- Elixir
- C#
- Kotlin
- OCaml (Beta)
- Nim (Beta)
- Python
- CFML (Beta)
- Prolog (Beta)
- Julia (Beta)
- C
- PHP
- C++
- Rust
- R (Beta)
- COBOL (Beta)
Start training on this collection. Each time you skip or complete a kata you will be taken to the next kata in the series. Once you cycle through the items in the collection you will revert back to your normal training routine.
DescriptionEdit
Hack your Future Homework for Week 1
General tips:
Add console.log(someVariable) in your code while writing it to understand better what is happening.
Hint for Q1:
Split your code into two parts, one part for the case that one of the two strings has an extra letter at the start or the end but is otherwise identical & one part for the case that the strings are the same length but one character is different in one of the strings
string slice: https://www.w3schools.com/jsref/jsref_slice_string.asp
Hint for Q2:
There are no sample tests, you need to use submit to test
array sort: https://www.w3schools.com/jsref/jsref_sort.asp