Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java DSA Foundations

A beginner-friendly repository documenting my journey of learning Data Structures & Algorithms (DSA) in Java. It contains solutions to fundamental programming concepts and beginner-friendly problems that help build a strong foundation in Java and problem-solving.

📚 Topics Covered

Java Basics

  • Input & Output
  • If-Else Statements
  • Switch Case
  • Loops
  • Functions (Methods)

Functions Practice

  • Taking user input using functions
  • Even or Odd checker
  • Sum of two numbers
  • Greater among two numbers
  • Print "Hello" 5 times
  • Print "Hello" N times
  • Square of a number
  • Area of a circle
  • Adult eligibility checker
  • Positive, Negative, or Zero checker
  • Largest among three numbers
  • Print numbers from 1 to N
  • Factorial of a number
  • Sum of first N natural numbers

Pattern Printing

  • Star patterns
  • Number patterns
  • Beginner pattern problems

Basic Mathematics

  • Reverse a number
  • Palindrome number
  • GCD (including Euclidean Algorithm)
  • Armstrong Number
  • Armstrong Numbers in a Range
  • Fibonacci Series
  • Find all divisors of a number (sorted)
  • Number manipulation problems

Recursion

  • Print N times
  • Print numbers from 1 to N
  • Print numbers from N to 1
  • Sum of first N natural numbers
  • Factorial using recursion
  • Fibonacci using recursion
  • String palindrome using recursion

🎯 Purpose

This repository serves as my Java DSA learning journal, where I practice core programming concepts, strengthen problem-solving skills, and build a solid foundation before exploring advanced data structures and algorithms.

About

A beginner-friendly Java repository documenting my journey through programming fundamentals and the foundations of Data Structures & Algorithms.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages