Updated skeletons for Java, Javascript and Python, as well as new README files for each.
Hello all Global Coding Challenge Contestants,
This repository sets out changes that should be made to the skeleton repositories as part of a minor patch regarding answer submission. The repository is split out into three parts:
- Java
- Javascript
- Python
- C#
Each contains an updated skeleton repository for their respective language. In order to successfully submit solutions for the Challenge, please copy and paste the relevant files into your repository. As a guide, each folder is equipped with a README file, detailing the files in that skeleton that have changed as a part of the patch.
The README files also contain a brief guide on how to fill in your solutions for the Challenge, before you submit to our central servers through a simple git push
.
If there are any questions, you can get in touch with us using the help page at www.credit-suisse.com/codingchallenge.
In the meantime, we wish you all the best of luck as you attempt to be crowned the Global Coding Champion!
Kind Regards
GCC Central Team
Pre-Requisites
Make sure you have Git installed on your computer - https://git-scm.com/downloads
How to copy your repository
- Create a folder on your desktop called CodingChallenge2019.
- Open up Command Line on Windows or Terminal on Mac OS X
- In Command Line/Terminal Navigate to the CodingChallenge2019 folder on your Desktop by typing in –
$ cd Desktop/CodingChallenge2019
- 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>
- You should now have the repository checked out locally.
- 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:
- Open up Command Line/Terminal and navigate to your repository by executing this command –
$ cd Desktop/CodingChallenge2019/<Your Repository without the brackets>
- Check all the files that you have changed -
$ git status
- Marks the files that you have changed ready to be committed and pushed -
$ git add .
(The ‘.’ represents to add everything you have changed) - Commit your files to your GitHub Repository
$ git commit –m “<Insert Commit Message here, without the brackets>”
- Push your changes to the master branch -
$ git push