CodeYourFuture / CodeYourFuture/Checkpoint

Practise your technical interview

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
🏕 Priority Mandatory 🐂 Size Medium
Dominant language
JavaScript
Stars
2
Forks
62
Avg merge
2d 1h
Merged PRs (30d)
1

Description

### Link to the coursework

https://www.codewars.com/collections/cyf-js3

### Why are we doing this?

In your technical interview, which will be fifteen minutes long, you may be asked to refactor code from your project. A good way to practice this is with Codewars.

1. Complete a kata.
2. Now complete it again, but using a different approach.

## Some possible refactors

- Extract a function
- Organise your code so all the variables are defined, then the functions, then the logic
- Rewrite as a fat arrow function
- Rewrite a loop to a map
- Rewrite with higher order functions, or refactor higher order functions to loops
- Rewrite as a recursive function

### Maximum time in hours

1

### How to submit

This is for your own practice. No submission step.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.