Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Practise your technical interview #17

Open
SallyMcGrath opened this issue Jul 23, 2024 · 0 comments
Open

Practise your technical interview #17

SallyMcGrath opened this issue Jul 23, 2024 · 0 comments
Labels
🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours

Comments

@SallyMcGrath
Copy link
Member

SallyMcGrath commented Jul 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏕 Priority Mandatory This work is expected 🐂 Size Medium 1-4 hours
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant