Link Search Menu Expand Document

Examples Questions

Coming up with questions for technical interviews can be tough. Before you take a look at our examples, think about the positions you are hiring for, the skills an engineer needs to be successful in the position, and what potential questions you could ask to gauge those skills.

Companies that have the most success hiring, often tie back their questions to their core business needs. For example, a company that builds invoicing software would tie their technical questions to invoicing logic.

Below are some examples that you can tailor to your own business needs and expand on.

Parse a string and turn it into an array of objects

Below is an example based on parsing data and turning that data into an array of objects. It is language agnostic.

const sampleCsv = 'ACCOUNT_NUMBER,ACCOUNT_ID,DATE,SCORE,SCORE_1\n954332033,141310885,09/13/2020,92,84\n954332033,141310885,09/14/2020,74,83\n954332033,141310885,09/15/2020,94,94';
// Turn this csv string into an array of objects. 
// There is no need to import any libraries.
// Each object within the array should have a header value
// It should look like:
// [ { ACCOUNT_NUMBER: '954332033',
//    ACCOUNT_ID: '141310885',
//    DATE: '09/13/2020',
//    SCORE: '92',
//    SCORE_1: '84' },
//  { ACCOUNT_NUMBER: '954332033',
//    ACCOUNT_ID: '141310885',
//    DATE: '09/13/2020',
//    SCORE: '74',
//    SCORE_1: '83' },
//  { ACCOUNT_NUMBER: '954332033',
//    ACCOUNT_ID: '141310885',
//    DATE: '09/13/2020',
//    SCORE: '94',
//    SCORE_1: '94' } ]