medium.com 7 min read Original Source

My Canonical Frontend Interview Experience | Engineering Manager

This was the first time I ever appeared for an Engineer Manager position in my life. It was overall a good experience.

I experienced some things that I had never experienced before. International companies’ interviews give you experiences that you can’t forget.

Round 1: Screening Round

It was a Home Take assignment, you have to give an answer to 11 questions in detail and submit the PDF form to them within 7 working days.

Below is the email screenshot of this round’s invite.

Note: Dates/Names in all photos are hidden due to the Code of Conduct.

The following are the 11 questions that were asked of me:

Web engineering experience

  • What skill or knowledge have you acquired in the past year that has been particularly helpful? What motivated you to learn it? What has the impact been for you and your team?
  • Describe your experience of web programming — JavaScript, TypeScript, React, CSS, and Python in particular.
  • Describe your experience building large systems with many services — web front ends, REST APIs, data stores, event processing, and other kinds of integration between components. What are the key things to think about regarding architecture, maintainability, and reliability in these large systems?

Software engineering experience

  • What kinds of software projects have you worked on before? Which operating systems, development environments, languages, databases, and frameworks?
  • Outline your thoughts on open-source software development. Have you been an open-source maintainer, and can you describe the scope of your contributions to those projects?
  • What is your proudest success as an engineer or a leader?
  • Outline your thoughts on quality in software development. What practices are most effective in software teams to drive improvements in quality?

Education

  • How did you fare in high school mathematics, physical sciences, and computing? Which were your strengths, and which were most enjoyable? How did you rank competitively in these subjects?
  • In high school, what leadership roles did you take on?
  • Which degree and university did you choose, and why?
  • What did you achieve at university that you consider exceptional?

Round 2: Home Take Assignment

Soon after submitting the above details, I got a successful invite for the technical assessment.

Format: This round had 2 sections [13 MCQs, 1 Machine Coding Problem]**
Duration:** 30 days to complete the test

MCQ Problems

  1. During program development, software requirements specify:
    A) How the program will accomplish its tasks
    B) The tasks that the program must perform
    C) How the tasks will be divided into subtasks
    D) How the program should be tested when it’s built

Answer: B
2. Which HTTP method is most commonly used for updating an existing record?
A) GET
B) POST
C) PUT
D) HEAD

Answer: C
3. Storing a collection of items in a set rather than an array would make which operation significantly faster?
A) Appending an item to the end of the collection
B) Checking if a specific item is contained in the collection
C) Looping through each item in the collection in turn
D) Sorting the items in the collection

Answer: B
4. Which statement might you use for executing a section of code ten times?
A) If / Else
B) For
C) While
D) If

Answer: B
5. Which is the most declarative URL format for a RESTful API endpoint that supports searching for a book based on its ID?
A) GET /{id}/books/
B) GET /books/{id}
C) GET /book?id={id}
D) GET /books?id={id}

Answer: B
6. Which is a key strength of JavaScript over other languages?
A) Its object model
B) Its readability
C) Its event loop
D) Its testability

Answer: C
7. Which do you feel is the most important reason for using semantic markup?
A) To achieve a better ranking by search engines
B) To correctly replicate a design
C) To help people and machines understand the source code better
D) Using semantic markup is a personal choice

Answer: C
8. If we don’t want to allow a floating div on the left side of an element, which CSS property should we use?
A) margin
B) clear
C) float
D) padding

Answer: B
9. Which of the following is true of accessibility?
A) Accessibility only relates to the code (i.e., screen readers, semantic markup)
B) Accessibility only relates to the design (i.e,. contrast, hidden content)
C) Accessibility means implementing measures specifically for blind users
D) Accessibility applies to all users

Answer: D
10. Which is a key strength of Python over other languages?
A) Its object model
B) Its readability
C) Its async support
D) Its testability

Answer: B
11. What are the key reasons to use OCI/Docker containers for local development? (Multiple Answers)
A) To get faster performance when running a project locally
B) To easily run service dependencies like databases
C) For easy port forwarding
D) To provide a reliable basis for installing dependencies
E) To provide a more integrated developer experience, e.g., hot reloading

Answer: B, D, E
12. What are the key reasons to choose to use an OCI image manager like Kubernetes in production, instead of non-container-based production solutions? (Multiple Answers)
A) For better CPU performance
B) To achieve quicker deployments
C) To automate deployments
D) For ease of scaling and load balancing to meet demand
E) To achieve dev/staging/prod parity

Answer: B, C, D, E
13. Which of the following statements is most correct?
A) Docker allows you to run images and build containers.
B) Docker allows you to run containers and build images.
C) Docker allows you to run and build containers.
D) Docker allows you to run and build images.

Answer: B

Machine Coding Problem:

We’d like you to write a calculator to perform basic arithmetic, but using an alternative syntax for writing the expressions.

In this alternative notation, the operators precede the operands. For example, while in traditional notation we might write 3 + 4, instead we would write + 3 4.

The main advantage of this format is that it does not require parentheses for any ambiguous expression.

In the code provided, the app/calculator.js file exports a calculate function. This function is expected to take an alternative expression as a string and output the numerical solution.

We have included some tests to check that this function works as expected.

To run the code:

npm install     #install dependencies
npm start       #use the calculator with an interactive prompt
npm test        # run the tests
npm install     #install dependencies
npm start       #use the calculator with an interactive prompt
npm test        # run the tests

Please implement the calculate function to solve expressions in the alternative format as expected.

Sample Code which is given for the calculator.js file is as follows:

exports.calculate = function(expression) {
    return 0;
}
exports.calculate = function(expression) {
    return 0;
}

Folder Structure: The Following was the folder structure for this code test.

My Solution:

exports.calculate = function(expression) {
    // Return 0 if expression is invalid or not a string
    if (!expression || typeof expression !== 'string') return 0;

    // Split the expression by whitespace and reverse it
    // (Prefix → Right to Left)
    const tokens = expression.trim().split(/s+/).reverse();
    const stack = [];

    for (let token of tokens) {
        if (!isNaN(token)) {
            // If token is a number, push it to the stack
            stack.push(Number(token));
        } else if (['+', '-', '*', '/'].includes(token)) {
            // If token is an operator, pop two operands from the stack
            const a = stack.pop();
            const b = stack.pop();

            let result;
            // Apply the operator on the two operands
            switch (token) {
                case '+':
                    result = a + b;
                    break;
                case '-':
                    result = a - b;
                    break;
                case '*':
                    result = a * b;
                    break;
                case '/':
                    result = a / b;
                    break;
            }
            // Push the result back to the stack
            stack.push(result);
        }
    }

    // Final result is the top of the stack, or 0 if empty
    return stack.length ? stack[0] : 0;
};
exports.calculate = function(expression) {
    // Return 0 if expression is invalid or not a string
    if (!expression || typeof expression !== 'string') return 0;

    // Split the expression by whitespace and reverse it
    // (Prefix → Right to Left)
    const tokens = expression.trim().split(/s+/).reverse();
    const stack = [];

    for (let token of tokens) {
        if (!isNaN(token)) {
            // If token is a number, push it to the stack
            stack.push(Number(token));
        } else if (['+', '-', '*', '/'].includes(token)) {
            // If token is an operator, pop two operands from the stack
            const a = stack.pop();
            const b = stack.pop();

            let result;
            // Apply the operator on the two operands
            switch (token) {
                case '+':
                    result = a + b;
                    break;
                case '-':
                    result = a - b;
                    break;
                case '*':
                    result = a * b;
                    break;
                case '/':
                    result = a / b;
                    break;
            }
            // Push the result back to the stack
            stack.push(result);
        }
    }

    // Final result is the top of the stack, or 0 if empty
    return stack.length ? stack[0] : 0;
};

After 2 days, I got the success email. I was so happy that I had cleared the 2 rounds.

The thing that made me happy was that the panel was very much interested in my profile. While I was giving this test, I got this email from him saying:

I am keen to proceed with your application for the Engineering Manager — Web role. We sent you an email to complete a technical test for this role which I can see that you have not yet submitted. Please do check your spam folder as it may have landed there in error. The email will have been sent directly from DevSkiller.

That boosted my confidence, and I gave the test on time in a quality manner.

Round 3: Psychometric Assessment

Duration: 45 minutes (5 sections, 9 minutes each)

After clearing Round 2, I got an invite for this round. As part of your job application process at Canonical Group Limited, you are required to complete Thomas assessments.

This round focused on logical thinking, memory, and pattern recognition — not technical skills.

  • Section 1: You’re shown a few statements and later asked to recall which one was correct. It tested short-term memory.
  • Section 2: A mix of upper and lowercase letters was shown in pairs. You had to count how many pairs matched correctly.
  • Section 3: Three words were given, and you had to pick the odd one out based on meaning.
  • Section 4: Given three numbers, you had to find the biggest gap between the smallest and largest.
  • Section 5: Two figures were shown — you had to check how many would look the same if rotated.

Final Verdict

This was one of the worst experiences, because I did well in this, something around ~70% correct. But well, that’s not enough to crack this role, I guess.

I don’t know why nowadays interviews are so difficult to crack that even 1 minor mistake can ruin your whole process.

Sometimes it’s not about hard work; it’s also about luck when it comes to interviews.

Not every day is your best day.

Just keep working hard
One day you will crack it….

Looking for more frontend interviews?

If you are looking for more frontend interviews, you can check out my profile, and there are 28+ interview experiences already shared till now. You can check them as well.

Final thoughts

Thank you for reading it till here.

_Can you clap for me [47 times, just long-press the button] _it’s my lucky number!! It motivates me to write more such experiences with you.

Have you ever faced such a Psychometric test as part of your interview? Or share your worst interview experiences in the comments.