Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Java Interview Programs

A curated collection of frequently asked Java programming interview questions with clean, well-structured solutions. Covers the most common algorithmic patterns tested in technical interviews.


📁 Programs

ProgramConcept
Factorial.txtCompute factorial of a number
Fibonacci series upto given range.txtGenerate Fibonacci sequence up to N
Prime number.txtCheck if a number is prime
Prime Factor.txtFind all prime factors of a number
Palindrom number.txtCheck if a number is a palindrome
String palindrom.txtCheck if a string is a palindrome
Reverse.txtReverse a number or string
GCD.txtGreatest Common Divisor using Euclidean algorithm
LCM.txtLeast Common Multiple
Sum of digits.txtSum all digits of a number
No.of digits.txtCount digits in a number
Split number into digit.txtExtract individual digits
Power of a number.txtCompute power/exponentiation
Swap two numbers.txtSwap values with and without temp variable
Even odd.txtDetermine even or odd

🛠️ Language

Java — all solutions are written in Java.


💡 Topics Covered

  • Number theory — prime, factorial, GCD, LCM, power
  • String manipulation — palindrome, reverse
  • Digit operations — sum, count, split
  • Series generation — Fibonacci
  • Basic logic — swap, even/odd

📌 Who Is This For?

Anyone preparing for Java technical interviews looking for quick reference solutions to the most commonly asked programming problems.

About

Frequently asked Java interview programs — Fibonacci, Palindrome, Prime, Factorial, GCD, LCM, Reverse, and more — with clean solutions.mostly asked questions in interview

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors