Interview
- 20 May
Rotate Matrix by 90 degrees in java
In this article, we will look into another interesting problem related to 2D Arrays. Given a Matrix of N X N Dimension we have to Rotate matrix by 90 degrees. We will perform Rotation both Clockwise i.e. Right Rotation and Anti-Clockwise i.e. Left Rotation respectively. We will discuss each operation in detail along with a […]
- 16 April
Top 40+ Hibernate interview questions and answers
Hibernate is most popular Object relational Mapping (ORM) framework and if you have used hibernate and has good experience on it, then you may face good hibernate interview questions. I am sharing some important hibernate interview questions here. 1. What is ORM? ORM stands for Object Relational mapping. It is programming paradigm which is used […]
- 16 April
Data Structures in java
In this post, we will see about various data structures in java. Data structure is a way of storing and organizing data. Data structure provide a way to process and store data efficiently. For example: Imagine you have pile of books on the table and you are going to read these books one by one […]
- 30 December
Rock Paper Scissors Game in Java
Learn about how to implement Rock Paper Scissors game in java.
- 29 November
Top 100+ Java Coding Interview Questions
I have been posting data structure and coding interview questions on various topics such as Array, Queue, Stack, Binary tree, LinkedList, String, Number, ArrayList, etc. So I am consolidating a list of java coding interview questions to create an index post. I will keep adding links to this post whenever I will add new java […]
- 09 October
Find first and last digit of a number
In this article, we are going to find first and last digit of a number. To find first and last digit of any number, we can have several ways like using modulo operator or pow() and log() methods of Math class etc. Let’s see some examples. Before moving to example, let’s first create an algorithm […]
- 03 October
Happy Number program in Java
In this article, we are going to learn to find Happy Number using Java. Let’s first understand, what is Happy Number? What is a Happy Number? A number which leaves 1 as a result after a sequence of steps and in each step number is replaced by the sum of squares of its digit. For […]
- 30 September
Find Perfect Number in Java
In this article, we are going to find whether a number is perfect or not using Java. A number is called a perfect number if the sum of its divisors is equal to the number. The sum of divisors excludes the number. There may be several approaches to find the perfect number. For example: 28 […]
- 28 September
How to find Magic Number in Java
In this article, we are going to learn to find Magic Number using Java. Let’s first understand, what is Magic Number? What is a Magic Number? A number which leaves 1 as a result after a sequence of steps and in each step number is replaced by the sum of its digits. For example, if […]
- 1
- 2
- 3
- …
- 23
- Nextkeyboard_arrow_right