WSO2 Hackathons

OPENS AT: Sep 21, 2022, 11:01 PM

CLOSES AT: Sep 24, 2022, 11:01 PM

DURATION: 3 days

Ballerina Coding Challenge

Challenge Over

Social Share

ABOUT CHALLENGE

Ballerina is an open-source programming language for the cloud that makes it easier to use, combine, and create network services.

During this hackathon, you will learn and use Ballerina comprehensively to solve problems and discover better ways to optimize network services. Welcome, and enjoy!

Want to know more about Ballerina?

Sakon

Instructions

  • Each problem has an associated Ballerina package template, and you must use that template to write your solution.
  • Example inputs and outputs are listed in each problem description, and Ballerina test cases are available for each example in the provided package template.
  • Please follow the Get Started with Ballerina Guide to set up Ballerina for local development.
  • Test your solution by running "bal test" from the package root directory.
  • You are welcome to test your solution by adding more test cases. However, we will not use your test cases to try out the submitted solution.
  • Alternatively, you can use the “Run code” button in the web IDE to run the sample tests.
  • Once you are confident with your solution, use the “Submit code” button in the web IDE to submit your solution. You can continue to resubmit until your submission obtains a satisfactory score.

Important!

The built-in web IDE of the HackerEarth platform has limited support for Ballerina, thus we recommend you set up Ballerina locally. You can download VSCode and install the Ballerina VSCode Extension from the marketplace. For each problem, you can download the package folder locally, implement the solution, test it, and then copy your solution into the web IDE in HackerEarth for submission. To download the problem folder from the online IDE:

right-click on the main folder and select download

Before you work on hackathon questions locally run this command to use the correct Ballerina version:

bal dist pull 2201.2.0

For any support on a specific question please ask on our `challenge-help` forum channel.

 

 

Main Prizes (5000 USD, 2500 USD, and 1000 USD)

  • You must make successful submissions for the following problems:
    • Category 1: Any three problems
    • Category 2: All problems
    • Category 3: Any four problems
    • Category 4: All problems
    • Categories 5, 6, and 7: Any three problems out of the 6 questions in all 3 categories
  • A submission is considered as successful if you score at least 70 out of 100.
  • The above criteria define the minimum needed to be eligible for the main prizes.
  • We encourage you to submit solutions to as many problems as you can to increase your total score and chances of winning the main prizes.

Consolation Prizes (50 USD consolation prizes)

  • You must score at least 50 out of 100 for the below problems:
    • Category 1: Any two problems
    • Category 2: Any two problems
    • Category 3: Any three problems
    • Category 4: All problems (This category has only 1 problem)
  • Out of the candidates who fulfill the above criteria, the top 50 by the overall score will be selected for the consolation prizes.

ABOUT COMPANY

Founded in 2005, WSO2 enables thousands of enterprises, including hundreds of the world’s largest corporations, top universities, and governments, to drive their digital transformation journeys—executing more than 60 trillion transactions and managing over 1 billion identities annually. Using WSO2 for API management, integration, and customer identity and access management (CIAM), these organizations are harnessing the full power of their APIs to securely deliver their digital services and applications. Our open-source, API-first approach to software that runs on-premises and in the cloud helps developers and architects to be more productive and rapidly compose digital products to meet demand while remaining free from vendor lock-in. WSO2 has over 900 employees worldwide with offices in Australia, Brazil, Germany, India, Sri Lanka, the UAE, the UK, and the US.

GUIDELINES

  • This coding challenge consists of 20 problems categorized under the following categories:
    • Category 1: Language basics (4 questions)
    • Category 2: Working with databases...
more

FAQs

1. How can I set up Ballerina locally?

Please follow the Get started with Ballerina guide.

2. How can I test my solution?

In the web IDE, you can use the “Run code” butt...

more
Notifications
View All Notifications

?