Rushi Javiya

Rushi Javiya

137 Articles Published

Articles by Rushi Javiya

Page 12 of 14

Java Developer Learning Path - A Complete Roadmap

Rushi Javiya
Rushi Javiya
Updated on 24-Jul-2023 1K+ Views

Java, a widely-used programming language, has become the backbone of many robust and scalable software applications. With its platform independence, extensive libraries, and vast ecosystem, Java offers a lot of opportunities for aspiring developers. If you are looking to embark on a journey to become a proficient Java developer, this comprehensive guide will outline a learning path that covers essential concepts and technologies. Understanding the Basics of Java To begin your Java developer journey, it's crucial to grasp the basics of the language. Develop a comprehensive understanding of fundamental concepts like variables, data types, operators, control structures (if-else, loops), and ...

Read More

Java Integer Cache

Rushi Javiya
Rushi Javiya
Updated on 24-Jul-2023 799 Views

Java is one of the most used programming languages nowadays, as it contains advanced features and functionalities. In every new version of Java, its developers add new features and functionalities, and an integer cache is one feature introduced in Java 5. In this tutorial, we will understand what integer cache is in Java and the importance of that in programming. What is Integer Cache in Java? From the 'cache' word, readers can guess that we are talking about storing integer in the memory and reusing it whenever required. Yes, you have guessed correctly. But the question comes to mind is ...

Read More

Java Equivalent of C++\'s lower_bound() Method

Rushi Javiya
Rushi Javiya
Updated on 24-Jul-2023 1K+ Views

In this problem, we will learn to implement the equivalent algorithm of C++'s lower_bound() method in Java to find the lower bound index of a given element in the sorted array. Lower bound − The lower bound is the index in the sorted array, such that the index contains the minimum element greater or equal to the targeted element. We can use the searching algorithms to find the lower bound of any element in the sorted array without using built-in methods. Here, we will use the linear search, iterative, and recursive binary search to get the lower bound of any ...

Read More

How to create Calendar in ReactJS?

Rushi Javiya
Rushi Javiya
Updated on 14-Jul-2023 5K+ Views

In some web applications, we require the user to take a date input. For example, we need to take the user's birth date or any other particular date as input. In such cases, it is a good idea to show the calendar to users and ask them to select the date rather than taking the date input as a string, as users can make mistakes in entering the string. In this tutorial, we will learn to add the calendar component using the built-in react js libraries or create a calendar component from scratch. Using the React-calendar Library to Create ...

Read More

Java Program to Find a Good Feedback Edge Set in a Graph

Rushi Javiya
Rushi Javiya
Updated on 04-Jul-2023 323 Views

A feedback edge set in a graph refers to a set of edges that, when removed from the graph, eliminates all cycles or feedback loops. In other words, it is a subset of edges that, when deleted, transforms the original graph into a directed acyclic graph (DAG). A good feedback edge set is a feedback edge set that has the minimum possible number of edges. In this tutorial, we will learn to find a Good Feedback Edge Set in a Graph. Problem Statement Write a Java program that identifies and removes feedback edges in a graph to construct a Good ...

Read More

Java Program to Implement Zhu-Takaoka String Matching Algorithm

Rushi Javiya
Rushi Javiya
Updated on 04-Jul-2023 295 Views

The Zhu-Takaoka algorithm is one of the best algorithms for pattern matching. It is developed using the combination of the Boyer-Moore and KMP string-matching algorithms. The Zhu-Takaoka algorithm utilizes the good character shift and bad character shift techniques to solve the problem. Problem statement − We have given two strings. We need to implement the Zhu-Takaoka algorithm for pattern matching. Sample Examples Input str = "PQRDPQRSSE"; patt = "PQRS"; Output 5 Explanation The ‘PQRS’ pattern exists at position 5. So, it prints 5. Input str = "PQRDPQRSSE"; patt = "PRQS"; Output -1 Explanation ...

Read More

Java Program to Implement wheel Sieve to Generate Prime Numbers Between Given Range

Rushi Javiya
Rushi Javiya
Updated on 04-Jul-2023 364 Views

The naïve approach to finding the prime numbers in the given range is to check whether each number is prime. Also, we need to make iterations equal to the given number to check whether the number is prime. So, the naïve approach is very time-consuming, and we need to optimize it to make it time efficient. In this tutorial, we will learn wheel factorization and Sieve of Eratosthenes algorithms given by Sieve to find the prime numbers in the given range efficiently. Problem statement − We have given left and right integer values. We need to implement the Wheel factorization ...

Read More

Why SASS is considered better than LESS?

Rushi Javiya
Rushi Javiya
Updated on 11-May-2023 315 Views

SASS and LESS are CSS preprocessor languages that help developers write CSS more quickly, reduce code duplication, and create modular stylesheets. Instead of writing repetitive code for each property, Sass and Less allow us to define variables for values like colors, font sizes, and other properties, which can be easily reused throughout our stylesheets. This makes updating styles across a project easier and maintains consistency throughout our design. However, Sass is considered better than Less for several reasons. Let’s understand the features and functionality of both of them. So that you can get more clearance about these preprocessor languages and ...

Read More

What is the difference between SASS and SCSS?

Rushi Javiya
Rushi Javiya
Updated on 11-May-2023 414 Views

SASS is a language extension of CSS that can add new features for writing stylesheets easier. At the same time, Compass is a framework built on top of SASS that provides more functionality and simplifies the development of stylesheets. This means that every valid CSS3 stylesheet is a valid SCSS as well. The extension we use for scss files is .scss. SCSS uses the indentation of lines rather than brackets or semi-colons to identify the line blocks. Although no longer the primary syntax, the indented syntax will continue to be supported. Files in the indented syntax use the extension .sass ...

Read More

What is the difference between LESS and SASS?

Rushi Javiya
Rushi Javiya
Updated on 11-May-2023 1K+ Views

SASS and LESS are two popular CSS preprocessors that offer additional features to enhance the efficiency of CSS coding. While both of these preprocessors are quite similar, there are a few differences that set them apart from each other. In this tutorial, we will explore the differences between SASS and LESS. What is SASS? SASS, also known as Syntactically Awesome Style Sheets, provides features like variables, nesting, and mixins to simplify and streamline the CSS writing process. SASS code is written in .scss or .sass files and compiled into regular CSS files for use on the ...

Read More
Showing 111–120 of 137 articles
Advertisements