/java-coding-problems

[WIP] 2024: Java Coding Problems - Data Structures and Algorithms (DSA)

Primary LanguageJava

[WIP] Java Coding (DSA) Problems

This repository contains solutions to various coding problems in Java. The questions are taken from various sources like LeetCode, AlgoExpert, Geeks for Geeks, etc. This repository contains dsa problems from basic printing a square pattern to complex problems like Largest Rectangle in Histogram and Kth Ancestor in a Tree.

Usage

  1. Clone the repository
git clone git@github.com:IamManchanda/java-coding-problems.git
  1. Change to repository's directory
cd java-coding-problems
  1. Change to problem's solution directory, example
cd 015-print-square-pattern/001-solution
  1. Allow Permission for bash script
chmod u+x _run.sh
  1. Run the script, example
./_run.sh