Global Coding Challenge 2021

Hello Global Coding Challenge Contestants, Welcome to the Global Coding Challenge, This repository sets out files that should be added to your skeleton repositories as part of answer submission.
The repository is split out into nine parts(Questions 1-9): Each contains a skeleton repository and a description of the question.

  • java
  • javascript
  • python
  • csharp
  • cplusplus
  • c
  • md file(Question)

If there are any questions, you can get in touch with us using the help page at https://www.credit-suisse.com/pwp/hr/en/codingchallenge/#/help.

In the meantime, we wish you all the best of luck as you attempt to be crowned the Global Coding Champion!
Kind Regards
GCC Team

Step by Step Guide on how to checkout and push to GitHub

Pre-Requisites Make sure you have Git installed on your computer - https://git-scm.com/downloads How to copy your repository

  1. Create a folder on your desktop called CodingChallenge2021.
  2. Open up Command Line on Windows or Terminal on Mac OS X
  3. In Command Line/Terminal Navigate to the CodingChallenge2021 folder on your Desktop by typing in – $ cd Desktop/CodingChallenge2021
  4. Once you’re in the folder clone your GitHub repository by executing the following command – $ git clone <insert link of your GitHub Repository here, without the brackets>
  5. You should now have the repository checked out locally.
  6. Using the IDE (e.g. IntelliJ/Eclipse) of your choice, open up your local repository and make changes to the answer files. How to commit and push your changes to GitHub for it to be evaluated:
  7. Open up Command Line/Terminal and navigate to your repository by executing this command – $ cd Desktop/CodingChallenge2021/<Your Repository without the brackets>
  8. Check all the files that you have changed - $ git status
  9. Marks the files that you have changed ready to be committed and pushed - $ git add . (The ‘.’ represents to add everything you have changed)
  10. Commit your files to your GitHub Repository $ git commit –m “<Insert Commit Message here, without the brackets>”
  11. Push your changes to the master branch - $ git push