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

Research direction

Open the linked Codewars JavaScript collection and choose a kata. Complete it once, then complete it again using a different approach such as a function extraction, map, recursion, or higher-order function. This is personal practice, so there is no repository submission or code change to verify.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
content
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.