---
title: Create a coding challenges (LeetLabs). 
description: You can create a coding test that allows your learners to write, test, and debug code in a practical setting.
---

[Skip to content](https://support.learnyst.com/create-a-coding-test#main-content)

![Learnyst Logo-25-1.png\]](https://support.learnyst.com/hs-fs/hubfs/Learnyst%20Logo-25-1.png?height=40&name=Learnyst%20Logo-25-1.png)

- [Blogs](https://blog.learnyst.com/)
- [Product Demo](https://www.learnyst.com/product-demo)
- [Help Center](https://support.learnyst.com/?__hstc=63047858.c6632626f509e3bce8daa43b7e98f888.1712298652738.1721125968223.1721135407952.38&__hssc=63047858.1.1721135407952&__hsfp=1459259341&_gl=1*1hsz3xc*_gcl_aw*R0NMLjE3MzA4OTkxMzAuQ2p3S0NBaUF4S3k1QmhCYkVpd0FZaVctLTFMeml2UU9iS3JlNDdQaXE4Y2RDRTRPbE9iZnFVYS1sYkViTm5lcW52eHljMnNXOTRoMlRCb0N3QVVRQXZEX0J3RQ..*_gcl_au*MTM5MDI5MDc5LjE3MjU5Mzg3NTIuNjU1NTcwMzYxLjE3MzMyMzMxODAuMTczMzIzMzE3OQ..)
- [Success Stories](https://www.learnyst.com/customers/success-stories)

Open main navigation

Close main navigation

- [Blogs](https://blog.learnyst.com/)
- [Product Demo](https://www.learnyst.com/product-demo)
- [Help Center](https://support.learnyst.com/?__hstc=63047858.c6632626f509e3bce8daa43b7e98f888.1712298652738.1721125968223.1721135407952.38&__hssc=63047858.1.1721135407952&__hsfp=1459259341&_gl=1*1hsz3xc*_gcl_aw*R0NMLjE3MzA4OTkxMzAuQ2p3S0NBaUF4S3k1QmhCYkVpd0FZaVctLTFMeml2UU9iS3JlNDdQaXE4Y2RDRTRPbE9iZnFVYS1sYkViTm5lcW52eHljMnNXOTRoMlRCb0N3QVVRQXZEX0J3RQ..*_gcl_au*MTM5MDI5MDc5LjE3MjU5Mzg3NTIuNjU1NTcwMzYxLjE3MzMyMzMxODAuMTczMzIzMzE3OQ..)
- [Success Stories](https://www.learnyst.com/customers/success-stories)

 Hello, how can we help you today?

- There are no suggestions because the search field is empty.

1. [Support Center](https://support.learnyst.com/?hsLang=en)
2. [Courses](https://support.learnyst.com/courses?hsLang=en)
3. [Add Lesson](https://support.learnyst.com/courses?hsLang=en#add-lesson)

# Create a coding challenges (LeetLabs).

## You can create a coding test that allows your learners to write, test, and debug code in a practical setting.

<iframe data-hsv-src="https://play-na2.hubspotvideo.com/v/667314/id/338444379856" referrerpolicy="origin" sandbox="allow-forms allow-scripts allow-same-origin allow-popups" allow="autoplay; fullscreen;" style="position: absolute !important; width: 100% !important; height: 100% !important; left: 0; top: 0; border: 0 none; pointer-events: initial" title="HubSpot Video" loading="lazy" data-hsv-id="338444379856" data-hsv-style="" data-hsv-width="4178" data-hsv-height="1984" data-hsv-autoplay="false" data-hsv-loop="false" data-hsv-muted="false" data-hsv-hidden-controls="false" data-hsv-full-width="false"></iframe>

- To create a coding test, Navigate to the **products and click the Code** option.
- Now, click the **Create** button.
- Here, enter the **test's name, description**, and choose a **preferred language**.
- Then, click the **Create** button.
- After you've created the code test, you need to set up the 6 steps.<https://support.learnyst.com/create-a-coding-test#options>
- Here, **provide detailed instructions** for resolving the code task, then click the **Save** button.
- Then go to the problem statement step. **Enter a detailed description** of the code problem here.
- Then Enter the **Initial Snippets**, and click the **Save** button.
- Then select the Test Cases step. To add test cases for this coding problem, click the **Add Test Case** button.
- Enter the **test case's title, input, and output**.
- Then, select the **visibility option and write a message** for the test case pass, fail, and description.
- If you choose the visible option, learners can view the test case while taking tests. Otherwise, they cannot see the test case while coding. The test cases will be executed only after the challenge submission. You can only make three test cases visible.
- Once you have completed this page, click the **Save** button.
- Then click on the **Hints Step**. Click the **Add Hints** button to guide your learners.
- **Enter the title and hint** here. Then, click the **Save** button.

You can add up to ten test cases and five hints.

- Then, select the **Solution step** and **enter the solution or resource** for the problem statement. Then, click the **Save** button.
- Now, proceed to the **Advanced Options stage**. Here, you can **set the difficulty level, and when the hints will appear.**
- Once you've configured these settings, click the **Save** button.
- You have now built the coding test for your students. To ensure that everything is working properly, click the **preview** button.
- Now you can see the coding environment from the learner's point of view.

- [Get Started](https://support.learnyst.com/get-started?hsLang=en)
- [AI Tools](https://support.learnyst.com/ai-tools?hsLang=en)
- [Courses](https://support.learnyst.com/courses?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/courses?hsLang=en#getting-started)
    - [Build Course](https://support.learnyst.com/courses?hsLang=en#build-course)
    - [Add Lesson](https://support.learnyst.com/courses?hsLang=en#add-lesson)
    - [Course Settings](https://support.learnyst.com/courses?hsLang=en#course-settings)
    - [Lesson Settings](https://support.learnyst.com/courses?hsLang=en#lesson-settings)
    - [Course Certificate](https://support.learnyst.com/courses?hsLang=en#course-certificate)
- [Mock test](https://support.learnyst.com/mock-test?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/mock-test?hsLang=en#getting-started)
    - [Build Mock Test](https://support.learnyst.com/mock-test?hsLang=en#build-mock-test)
    - [GMAT Question Types](https://support.learnyst.com/mock-test?hsLang=en#gmat-question-types)
    - [Mock test Settings](https://support.learnyst.com/mock-test?hsLang=en#mock-test-settings)
- [Test Series](https://support.learnyst.com/test-series?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/test-series?hsLang=en#getting-started)
    - [Build Test Series](https://support.learnyst.com/test-series?hsLang=en#build-test-series)
    - [Settings](https://support.learnyst.com/test-series?hsLang=en#settings)
- [Bundles](https://support.learnyst.com/bundles?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/bundles?hsLang=en#getting-started)
    - [Build Bundles](https://support.learnyst.com/bundles?hsLang=en#build-bundles)
    - [Bundle Settings](https://support.learnyst.com/bundles?hsLang=en#bundle-settings)
- [Batch](https://support.learnyst.com/batch?hsLang=en#main-content)

    - [Batch Settings](https://support.learnyst.com/batch?hsLang=en#batch-settings)
- [Track](https://support.learnyst.com/track?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/track?hsLang=en#getting-started)
    - [Track Settings](https://support.learnyst.com/track?hsLang=en#track-settings)
- [Ebooks](https://support.learnyst.com/ebooks?hsLang=en)
- [Podcasts](https://support.learnyst.com/podcasts?hsLang=en)
- [Webinars](https://support.learnyst.com/webinars?hsLang=en)
- [Digital/Custom Products](https://support.learnyst.com/digital-custom-products?hsLang=en)
- [Free Resource](https://support.learnyst.com/free-resource?hsLang=en)
- [1:1 Coaching](https://support.learnyst.com/11-coaching?hsLang=en)
- [1 on 1 Tutoring](https://support.learnyst.com/1-on-1-tutoring?hsLang=en)
- [Poll](https://support.learnyst.com/poll?hsLang=en)
- [Question Pool](https://support.learnyst.com/question-pool?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/question-pool?hsLang=en#getting-started)
    - [Build Question Pool](https://support.learnyst.com/question-pool?hsLang=en#build-question-pool)
- [Classification](https://support.learnyst.com/classification?hsLang=en#main-content)

    - [Categories](https://support.learnyst.com/classification?hsLang=en#categories)
    - [Tags](https://support.learnyst.com/classification?hsLang=en#tags)
- [Product Pricing](https://support.learnyst.com/product-pricing?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/product-pricing?hsLang=en#getting-started)
    - [Pricing Plans](https://support.learnyst.com/product-pricing?hsLang=en#pricing-plans)
- [Quiz & Assessment](https://support.learnyst.com/quiz-assessment?hsLang=en#main-content)

    - [Add Questions](https://support.learnyst.com/quiz-assessment?hsLang=en#add-questions)
    - [Build Quiz](https://support.learnyst.com/quiz-assessment?hsLang=en#build-quiz)
    - [Question Settings](https://support.learnyst.com/quiz-assessment?hsLang=en#question-settings)
    - [Quiz Settings](https://support.learnyst.com/quiz-assessment?hsLang=en#quiz-settings)
    - [Question Review Flow](https://support.learnyst.com/quiz-assessment?hsLang=en#question-review-flow)
- [Website](https://support.learnyst.com/website?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/website?hsLang=en#getting-started)
    - [Building Website](https://support.learnyst.com/website?hsLang=en#building-website)
    - [Website Navigation](https://support.learnyst.com/website?hsLang=en#website-navigation)
    - [Superpower Widgets](https://support.learnyst.com/website?hsLang=en#superpower-widgets)
    - [Sign Up Settings](https://support.learnyst.com/website?hsLang=en#sign-up-settings)
    - [Widgets (Embeddables)](https://support.learnyst.com/website?hsLang=en#widgets-embeddables)
- [Website Custom domain](https://support.learnyst.com/website-custom-domain?hsLang=en)
- [Mobile Apps](https://support.learnyst.com/mobile-apps?hsLang=en#main-content)

    - [Android](https://support.learnyst.com/mobile-apps?hsLang=en#android)
    - [iOS](https://support.learnyst.com/mobile-apps?hsLang=en#ios)
- [Communities](https://support.learnyst.com/communities?hsLang=en#main-content)

    - [Learnyst Community](https://support.learnyst.com/communities?hsLang=en#learnyst-community)
    - [Telegram Community](https://support.learnyst.com/communities?hsLang=en#telegram-community)
- [Gamification](https://support.learnyst.com/gamification?hsLang=en)
- [Learner Management](https://support.learnyst.com/learner-management?hsLang=en#main-content)

    - [Learner Profile](https://support.learnyst.com/learner-management?hsLang=en#learner-profile)
    - [Learner Actions](https://support.learnyst.com/learner-management?hsLang=en#learner-actions)
    - [Learner Settings](https://support.learnyst.com/learner-management?hsLang=en#learner-settings)
- [Roles and Permissions](https://support.learnyst.com/roles-and-permissions?hsLang=en)
- [Marketing](https://support.learnyst.com/marketing?hsLang=en#main-content)

    - [Refer Earn](https://support.learnyst.com/marketing?hsLang=en#refer-earn)
    - [Push Message](https://support.learnyst.com/marketing?hsLang=en#push-message)
    - [Marketing Email](https://support.learnyst.com/marketing?hsLang=en#marketing-email)
    - [System Email](https://support.learnyst.com/marketing?hsLang=en#system-email)
    - [Whatsapp Messenger](https://support.learnyst.com/marketing?hsLang=en#whatsapp-messenger)
    - [Workflows](https://support.learnyst.com/marketing?hsLang=en#workflows)
    - [Forms](https://support.learnyst.com/marketing?hsLang=en#forms)
    - [Campaign](https://support.learnyst.com/marketing?hsLang=en#campaign)
    - [CTA](https://support.learnyst.com/marketing?hsLang=en#cta)
    - [Promo Slider](https://support.learnyst.com/marketing?hsLang=en#promo-slider)
- [Sales](https://support.learnyst.com/sales?hsLang=en)
- [Integrations](https://support.learnyst.com/integrations?hsLang=en#main-content)

    - [Pabbly Integration](https://support.learnyst.com/integrations?hsLang=en#pabbly-integration)
    - [Zapier Integration](https://support.learnyst.com/integrations?hsLang=en#zapier-integration)
    - [Google Ads](https://support.learnyst.com/integrations?hsLang=en#google-ads)
    - [Meta Ads](https://support.learnyst.com/integrations?hsLang=en#meta-ads)
- [Newsfeed](https://support.learnyst.com/newsfeed?hsLang=en)
- [Ratings and Reviews](https://support.learnyst.com/ratings-and-reviews?hsLang=en)
- [Learner Support](https://support.learnyst.com/learner-support?hsLang=en)
- [Sub School](https://support.learnyst.com/sub-school?hsLang=en)
- [Reports](https://support.learnyst.com/reports?hsLang=en)
- [Content Security](https://support.learnyst.com/content-security?hsLang=en#main-content)

    - [CourseGaurd](https://support.learnyst.com/content-security?hsLang=en#coursegaurd)
- [School Settings](https://support.learnyst.com/school-settings?hsLang=en#main-content)

    - [General Settings](https://support.learnyst.com/school-settings?hsLang=en#general-settings)
    - [Learner Billing](https://support.learnyst.com/school-settings?hsLang=en#learner-billing)
    - [Payment gateway](https://support.learnyst.com/school-settings?hsLang=en#payment-gateway)
    - [Features](https://support.learnyst.com/school-settings?hsLang=en#features)
    - [Security](https://support.learnyst.com/school-settings?hsLang=en#security)
    - [Channels](https://support.learnyst.com/school-settings?hsLang=en#channels)
- [Zoom integration](https://support.learnyst.com/zoom-integration?hsLang=en)
- [Troubleshooting](https://support.learnyst.com/troubleshooting?hsLang=en)
- [FAQs](https://support.learnyst.com/faqs?hsLang=en)
- [Users](https://support.learnyst.com/users?hsLang=en#main-content)

    - [Learners](https://support.learnyst.com/users?hsLang=en#learners)
- [Learners' Help article](https://support.learnyst.com/learners-help-article?hsLang=en)
- [Socials](https://support.learnyst.com/socials?hsLang=en)

- [Home](https://learnyst-1.hubspotpagebuilder.net/)
- [About Us](https://learnyst-1.hubspotpagebuilder.net/about-us)
- [Contact Us](https://learnyst-1.hubspotpagebuilder.net/contact-us)
- [Blog](https://learnyst.hs-sites-na2.com/blog)

[![Chill listening crop-3](https://support.learnyst.com/hs-fs/hubfs/Learnyst%20logo%20(2).png?width=24&height=24&name=Learnyst%20logo%20(2).png "Chill listening crop-3")](https://www.learnyst.com/)

Learnyst Support

Copyright © 2026, Learnyst Insights Pvt Ltd

```json
{
  "@context" : "https://schema.org",
  "@type" : "VideoObject",
  "contentUrl" : "https://667314.fs1.hubspotusercontent-na2.net/hubfs/667314/video_assets/338447692498/inherited/web_optimized.mp4",
  "dateModified" : "2026-04-27T09:35:00.543Z",
  "duration" : "PT1M51S",
  "height" : 1984,
  "name" : "Create a coding challenges (LeetLabs).",
  "thumbnailUrl" : "https://667314.fs1.hubspotusercontent-na2.net/hubfs/667314/Create%20a%20coding%20challenges%20(LeetLabs)..mp4/medium.jpg",
  "uploadDate" : "2026-04-27T09:34:39.284Z",
  "width" : 4178
}
```