Skip to content

riteshsainju/beginners

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Before you begin

This repository contains 4 problems, each with two levels- basic and advanced. There are corresponding branches for the levels of difficulty.

The README.md file in each problem directory explains the problem in full detail for both levels. You will also find a maven build file- POM.xml. This is what you will use to import the problems into your IDE, if you use one.

Follow these steps to get through the problems:

  1. Fork this repository into your own GitHub profile
  2. Clone your forked repository using the command git clone <your-fork-url>
  3. Look at each of the problems by going through the README.md files
  4. When you are confident about the level you want to go for, checkout to that level using git checkout <level>
  5. You will find that the problems are pre-configured with:
  6. A Main class
  7. Supporting classes as explained in the problems
  8. A test case to check your answer
  9. Fill the Main() constructor method with you answer
  10. Once done, or if you want to try another problem, commit your changes with:
  11. git add .
  12. git commit -m "<Write a simple message explaining if you are done, or are going to try another problem>"
  13. git push
  14. Only then start working on another problem
  15. To test your answer, run the testcase named testAnswer in TestAnswer test class
  16. If you would like to switch the difficulty level, make sure you that you have committed all changes if any by following step 7 again. Then:
  17. git checkout <level>
  18. Continue working and committing changes working down from step 6 again.

I will do a live briefing of these steps during the test, but you may use this as a cheatsheet for git commands.

Don't worry if you cannot solve the advanced problems. Those are actually going to be your targets as you learn during the first weeks of internship.

Good luck!

About

Some questions for Java beginners.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%