CodeYourFuture / CodeYourFuture/Checkpoint

Practise your technical interview

Aperta
#17 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
🏕 Priority Mandatory 🐂 Size Medium
Lingua principale
JavaScript
Stelle
2
Fork
62
Merge medio
2g 1h
PR unite (30g)
1

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.