java-solutions icon indicating copy to clipboard operation
java-solutions copied to clipboard

Solutions in JAVA for some coding platforms.

Main Workflow

Follow me on your favorite platform for latest updates on my video channel

Youtube Facebook Twitter Tumblr RSS

You can also subscribe via email.

  • How to use this repo
    • Install softwares
    • Setup Project
  • CONTRIBUTE
  • Solutions for some coding platforms
  • Full list of questions
  • Code Explanations
    • String
    • Array
    • Linked Lists
    • Trees
  • Theory
    • Algorithmic Paradigms
    • Analysis of Algorithms
    • Sorting Techniques
    • Searching Techniques
    • Data Structures
  • Playlists

How to use this repo

Install softwares

  • Install OpenJDK
  • Install Maven
  • Install Git
  • Use your favorite editor. (I prefer IntelliJ. It is fast and free)

Setup Project

  • Goto your desired folder and clone the repository
  • cd into your directory
  • Build the project using mvn clean install.
  • Startup IntelliJ and choose to import this project from your Explorer/Finder window.
  • Start making changes/using it.
[user@machine ~] git clone https://github.com/nikoo28/java-solutions.git
[user@machine ~] cd java-solutions
[user@machine ~/java-solutions] mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------< com.studyalgorithms.javasolutions:java-solutions >----------
[INFO] Building java-solutions 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------

... snipped

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.790 s
[INFO] Finished at: 2020-07-06T18:37:35-07:00
[INFO] ------------------------------------------------------------------------
[user@machine ~/java-solutions]

Contribute

Please contribute to this repository to help it make better. Any change like new questions you want to see, code improvements, doc improvements etc. is very welcome. Just send me a pull request and I will review the request and approve it, if it looks good.

Solutions for some coding platforms

  • LeetCode
  • HackerRank
  • Codility

Full list of questions

https://studyalgorithms.com/site-map/

Code Explanations

String

Array

Linked Lists

Trees

Theory

Algorithmic Paradigms

Analysis of Algorithms

Sorting Techniques

Searching Techniques

Data Structures

Playlists