Skip to main content

19 docs tagged with "java"

View all tags

Advanced Strings

StringBuilder is a mutable character sequence in Java that enables efficient modifications of strings without creating new objects, improving performance for dynamic string manipulation.

Arrays

Learn about arrays in JavaScript, Java, Python, and C++. Understand how to declare, initialize, and manipulate arrays across different programming languages.

Balanced Binary Tree Checker

Learn how to implement a balanced binary tree checker in Java, with explanations of the algorithm and time complexity analysis.

Bucket sort

Thsi page containes Bucket Sort, with codes in python, java and c++

Classes

Learn about classes and object-oriented programming concepts in JavaScript, Java, Python, and C++. Understand how to create, instantiate, and work with classes effectively in these popular languages.

Conditionals

Master conditional statements in JavaScript, Java, Python, and C++. Learn how to use if-else, switch statements, and ternary operators for decision-making in programming.

Functions

Learn about functions and how to create and use them in JavaScript, Java, Python, and C++. Understand function declarations, parameters, return values, and best practices.

How to reverse the string?

Reversing a string is the process of rearranging the characters in a string so that they appear in the opposite order.

Loops

Explore how to use loops in JavaScript, Java, Python, and C++. Learn about different types of loops and their usage, including for loops, while loops, and do-while loops.

Objects

Learn about objects in JavaScript, Java, Python, and C++. Understand how to define, create, and use objects effectively in these popular programming languages.

Operators

Explore different types of operators in programming languages like JavaScript, Java, Python, and C++. Understand their usage, precedence, and practical examples.

Polymorphism in Object-Oriented Programming

Polymorphism is a core concept in object-oriented programming that allows objects of different classes to be treated as instances of the same class through a shared interface

Radix sort

This page explains Radix sort, with code implementations and resources for further learning.

Sortings Data Structure

Sorting algorithms are fundamental in computer science, used to arrange data in a particular order, typically ascending or descending. Various sorting techniques are designed to optimize performance based on factors like time complexity, space complexity.

Space Complexity

Space complexity is a measure of the amount of working storage an algorithm needs. It is a measure of the amount of memory space an algorithm needs to solve a problem as a function of the size of the input to the problem. It is the amount of memory space required by the algorithm to execute in its life cycle.

Strings

Learn about strings in JavaScript, Java, Python, and C++. Understand how to create, manipulate, and use strings effectively in programming.

Time Complexity

Time Complexity is a measure of the amount of time an algorithm takes to solve a problem as a function of the size of the input to the problem. It is commonly estimated by counting the number of elementary operations performed by the algorithm, where an elementary operation takes a fixed amount of time to perform.

Variables in Programming

Learn how to declare, initialize, and use variables in JavaScript, Java, Python, and C++. Understand the scope, types, and best practices for using variables effectively.