Rudradev Das has Published 75 Articles

Java Program to Search User Defined Object From a List By using Binary Search Comparator

Rudradev Das

Rudradev Das

Updated on 11-Apr-2023 15:49:36

335 Views

Java comparator interface used to sort Java objects. A comparator class in Java compares the different objects (Obj 01, Obj 02) by invoking the "java. util. comparator". In this method the objects can be compared on the basis of the return value. It can be positive, equal or negative in ... Read More

Java vs C#

Rudradev Das

Rudradev Das

Updated on 10-Apr-2023 15:59:23

448 Views

Java is a dynamic, secured and class based high level object oriented programming language developed by Oracle Corporation. On the other hand; C# is a .Net Framework object oriented programming language developed by Microsoft. Java and C# both are the general purpose programming paradigm or basically known as the imperative ... Read More

Java Program to search ArrayList Element using Binary Search

Rudradev Das

Rudradev Das

Updated on 10-Apr-2023 15:50:56

567 Views

Searching is a sorting process to find a particular information from a set of random elements. In a Linear Data structure, there are two types of searching process - Linear Search Binary Search Linear search is a simple searching method by which we can find an element from ... Read More

Java TreeSet Special Method

Rudradev Das

Rudradev Das

Updated on 10-Apr-2023 15:44:02

273 Views

The TreeSet class in Java environment is a container interface set that is mainly use to store tree. There are two different ways in this class. An AbstractSet Class - It is a collection interface, part of the Java Collection Framework. NavigableSet interface - It is a navigable ... Read More

Java TreeMap Special Methods

Rudradev Das

Rudradev Das

Updated on 10-Apr-2023 15:38:22

251 Views

The TreeMap is a method class collection framework in Java environment. It is storing key to implement a Map Interface or a Map Navigation with a MapAbstract class. After the sorting process the keys of that map will store in the natural order in a consistent manner. The implementation of ... Read More

Java Ternary Operator Puzzle

Rudradev Das

Rudradev Das

Updated on 10-Apr-2023 15:36:18

303 Views

What Is An Operator In Java Environment? Operators are some special characters or symbols or data indicators those are able to perform some specific operations in Java environment. There are multiple operands (variables), which can take part here in this operation. After a successful compilation we get the desired output. ... Read More

Difference Between Homozygous and Heterozygous

Rudradev Das

Rudradev Das

Updated on 10-Apr-2023 15:19:39

337 Views

Homozygous and heterozygous are terms used to describe the genetic makeup of an organism, specifically the alleles present in its genes. An allele is a version of a gene that controls a particular characteristic. For example, the gene for eye color has different alleles for blue, brown, green, and hazel ... Read More

PHP program to Count Inversions of size three in a given array

Rudradev Das

Rudradev Das

Updated on 06-Apr-2023 18:01:41

213 Views

Inversion count is a step counting method by which we can calculate the number of sorting steps taken by a particular array. It is also capable to count the operation time span for an array. But, if we want to sort an array in a reverse manner, the count will ... Read More

Java program to find array sum using bitwise OR after splitting given array in two halves after K circular shifts

Rudradev Das

Rudradev Das

Updated on 06-Apr-2023 18:00:21

220 Views

Array is a set of a single non primitive similar data types (values or variables) that stores the elements in a memory with a fixed number of values. After creating an array with certain elements, the length of this data set became fixed. Here non primitive means, these data types ... Read More

Longest Subarray with GCD Greater than 1

Rudradev Das

Rudradev Das

Updated on 06-Apr-2023 15:44:17

671 Views

An array is a collection of similar data sets which stored at adjacent memory locations in a continuous manner. It makes the process easier to evaluate the particular position of each and every element by defining an offset value to the particular base value of a database. The base value ... Read More

Advertisements