Code

Java

7 Basic Difference between throw and throws in Java | Example

What is the major and basic difference between throw and throws in Java exception handling? Simple program example explained.

Java

8 Difference between HashMap and HashSet in Java | Examples

What is difference between Hashmap and Hashset in Java. Example, definition, performance and usage (when to use Hashmap and Hashset?).

Java

Java HashSet Example| Methods Explained with Code

Java HashSet example explained with source code. HashSet methods to add, access, remove, read elements and find size.

Difference Between C and OOPs Languages (C++/C#/Python)

What is the difference between c and oops programming languages like C++, C# and Python? Object oriented programming with example.

algorithm

Tower of Hanoi Puzzle | Example, Number of Moves

Tower of Hanoi puzzle in data structure explained with algorithm and Python program. Minimum number of disk moves.

bit manipulation

6 Bitwise Operators in Python | Coding Example

What are the Bitwise operators in Python – AND, OR, NOT, XOR, Right Shift and Left Shift? Performing bitwise operations explained with example and code.

Java

ArrayList in Java| Example, Methods (Add, Remove Iterate, Sort)

What is ArrayList in Java? Explained with code example. Methods to initialize, add, find length, remove, sort ArrayList object, iterate and replace.

Java

Java HashMap Methods Explained with Code Example | Collections

Java HashMap example explained with code. Accessing key-value using forEach and other HashMap methods. HashMap vs Hash Table.

Python

Python Tricky Interview Questions and Answers

What are some Python tricky interview questions asked in coding round? Answer explained with code and examples.