expand all collapse all
FAQ Hints Troubleshooting
Take a demo test See example report

So, you are going to start your Codility test!

Take demo test See example report

Frequently Asked Questions

  1. before your test

    I got an invitation to take a Codility test. What is it?

    Codility test is an automated test of programming skills. You have been invited to take the test to demonstrate your programming ability on some small coding assignments. You will be presented with a few tasks that will require you to write or correct some code. You can run and test your solutions in our online environment or use your editor of choice.

  2. Can I open the link now but take the test later?

    Yes, you can open the link and read the introductory information. Unless you press "Start the test" button, you can leave and come back when you are ready. Once you start the test, you will not be able to stop the timer.

  3. How much time does a Codility test take?

    Tests usually last between half an hour and two hours. The exact length is set by your recruiter and depends on the number of tasks. Keep in mind that once you begin the test you cannot stop the timer.

  4. What sort of code will I write during the test?

    Each test consists of several tasks that require you to write or modify short programs (usually 10–20 lines). Tasks differ in difficulty and scope. Follow your test link now to view the number of tasks in your test and the list of languages that you can use.

  5. How will my solutions be assessed?

    After you finish the test, we will run your solutions against multiple test cases to verify their correctness (e.g. whether your code handles corner cases) and scalability (whether your code remains practical as the data size grows). Afterwards the results will be presented to your recruiter. See an example report here.

  6. Will I see my results?

    Some recruiters will share the results with you, but others may choose to keep them confidential.

  7. Do I have to take the test immediately after receiving an invitation?

    You should take your test within the next day or two. If you need to delay your test, contact your recruiter.

  8. Do I need to install any software?

    You only need a supported browser. You don’t need to install any applications or browser plug-ins. The Codility interface contains a coding environment that provides everything you need to solve the tasks (you can edit, compile and run your solutions many times before you submit your code). If you prefer to use other programming tools, see Can I use my own IDE?.

  9. What browsers are supported?

    Chrome ≥ 57, ChromiumEdge ≥ 79, Firefox ≥ 59, MSEdge ≥ 16, Opera ≥ 44, Safari ≥ 11.

    You must use a supported browser for the test. If we detect that you are attempting the test on an unsupported browser, we will tell you.

  10. during your test

    Can I modify the initial code?

    Be careful. You need to leave the function signature just as it is provided, because otherwise our assessment engine will not be able to run your program. With that in mind, feel free to add helper functions, imports/includes...
    (In some tasks there are extra restrictions on how much code you are allowed to change - the goal is to understand the code and make a minimal edit that fixes the given problem.)

  11. How can I test my solution before submitting it?

    Our environment enables you to compile and execute your code against an example test case. You can add your own test cases too. See how it works in our demo test.

  12. I clicked ‘Run’ and it says “OK”. Will I score 100%?

    That’s not sufficient! Clicking ‘Run’ only verifies whether your code compiles and returns the correct result for the example test case. You need to make sure that your code works correctly and efficiently with all possible inputs.

  13. May I consult a book/website/colleague?

    During the test you should work on your own; you may not consult anybody. You may use books and websites unless your recruiter explicitly tells you not to.

  14. Can I use my own IDE?

    Yes, you can write your solution in an editor of your choice and paste the solution back into the Codility interface. Use the ‘Run’ button to make sure that the code has been copied properly and that Codility is able to compile and execute it. Your compiler is not necessarily the same as ours, so remember to write portable, standards-compliant code. The supported language version is displayed in the Codility interface.

  15. Should I verify the validity of input data?

    No, you don’t need to check whether any assumptions given in the task are true.

    If we say, for example, that N is a positive integer, your code does not need to verify that it really is.

  16. Will my coding style affect my score?

    Yes. Your recruiter may read and review your code and your style may be taken into account when computing your final score.

  17. How do I save my code?

    Codility saves your code automatically. If you close the browser window and open it again, you will resume where you left off. When you have completed one of the tasks and you are sure your solution is ready, click the ‘Submit’ button. Note that you won’t be able to modify this task’s solution after doing so.

  18. What if I run out of time?

    As soon as the time runs out, Codility saves your code and assesses it.

  19. Will I lose points for syntax errors?

    If your final submission doesn’t compile, we won’t be able to assess your program and you will not get any points. Be sure to use the ‘Run’ button to check for compilation errors while working on the solution. See How can I test my solution before submitting it?

  20. How many points did I score?

    Please contact your host for any feedback related to your Codility session, also in the context of the recruitment process you participate in.

  21. CodeLive

    What is CodeLive?

    CodeLive is a recorded collaborative programming session. You will be able to work together on programming questions selected by your host.

  22. My CodeLive session is not active yet - when will I be able to enter?

    Once your host starts the session you will be able to enter. If you are having a problem entering the CodeLive session, please contact your host to allow you to enter.

Hints

Reserve time

Make sure you have a continuous block of time and that you will not be interrupted; there is no option to pause.

Read all the tasks

When you start the test, it may be a good idea to skim every description first. This will help you to use the time optimally.

Check available languages

Check your programming language choices. Sometimes you may find a task easier to do in one language than in another.

Make sure your solution compiles

A mediocre solution that works is better than a hot solution that doesn’t! To get a positive result, you should deliver compilable, working code before your time runs out.

Back up your solutions

If you have completed one approach and want to experiment with something better, comment out the old solution in case you want to revert to it.

Pay attention to corner cases

Make sure your solution works for empty, very small and very large inputs. Consider the worst possible data allowed by the task description.

Test extensively

It’s your responsibility to make sure your solution is correct. Before submitting your final solution, analyze your code, run it with your own test cases and try to find a situation where it could fail.

Be honest

A coding test is only one step in recruitment. Cheating is easy to discover, it won’t get you hired, and it’s likely to harm your reputation.

Ask your recruiter

If you have any concerns or doubts before starting the test, please discuss them with your recruiter.

Troubleshooting

  1. My test link doesn’t work

    Please take a screenshot of your browser when trying to open the test link and send it to your recruiter.

  2. I misunderstood the task description

    If you realize after the test that you misunderstood a task and ended up coding the wrong thing, it is a very good idea to let your recruiter know. Please bear in mind, however, that it’s your recruiter’s decision whether to allow you a second attempt (or a different task to solve).

  3. My code doesn’t work in the Codility environment

    Read the error message in the test output carefully, then double-check that you have not made a typo and that the function signature is just as in the task description.

    If you are convinced that your code is not the problem, skip the task once you have finished the test. We will review what happened and contact the recruiter for you if we spot a problem.

  4. My editor froze

    After you have finished the test, please contact Codility Support and explain the issues you experienced. We promise to look into your problem.

    As a quick workaround, remember that you can refresh or restart your browser safely, or re-enter the test through the same link. Codility auto-saves whenever you stop typing, so it is highly unlikely that you will lose your code.

    If your browser has problems with the Codility interface, it might be caused by the interference of browser extensions or custom settings, so it is a good idea to try another browser from our list of supported browsers.

  5. I lost power or my internet connection during the test

    Please contact your recruiter, inform them that you have lost time, describe the cause and ask them to reopen your session so that you can resume coding where you left off. The decision is up to your recruiter, but it is important to inform them that there has been a problem.

Is this information helpful?yesno

© 2009–2021 Codility Ltd., registered in England and Wales (No. 7048726). VAT ID GB981191408. Registered office: 107 Cheapside, London EC2V 6DN