###### tags: `cacoo` `cacoo interview`
https://github.com/NikitaPletnev
https://nulab.backlog.jp/ViewAttachmentPdf.action?attachmentId=1102684272
francisco.parejo.lopez@gmail.com
# Interview questions for frontend
1. Jay - Explain the interview steps - I am web developer and also a team lead for global team.
1. Introduce yourself
2. Can you
3. why are you leaving your current role? You have joined the current company for 1 month
4. How familiar are you with Graphql and Wordpress?
7. How familiar are you with SSR (GatsbyJS)?
6. What matters to you in a job? What drives you?
7. Have you lead a project?
8. Tell us a bit about some of the more challenging code bases you worked on. How did that go?
9. Our team is VERY international. What's your experience with such teams?
6. Code challenge: https://app.coderpad.io/KHQHZEW4
- Find bug challenge: https://nulab.backlog.jp/git/CACOO/interview-material/blob/master/frontend/js-bugfind-1.md
- Recirsive cleanup function
```javascript
async function cleanupC(cleanupIndex, interval, attempts) {
if (cleanupIndex > input.cleanupFuncs.length - 1) {
return
}
try {
tryCleanup(input.cleanupFuncs[cleanupIndex], attempts);
} catch (e) {
console.log(errMessage + e);
cleanupC(cleanupIndex, interval, ++attempts)
return
}
await new Promise((resolve) => {
setTimeout(resolve, interval)
})
cleanupC(++cleanupIndex, interval, 0)
}
```
6. Second code challenge: Validate parentheses: https://app.coderpad.io/K3YG9RFX
7. Do you have questions for us?