Git bisect

Git bisect Overview The bisect command in Git is a utility tool that lets you identify an offending commit. Consider an instance where you came across a bug in your source code file and are pretty unsure when it came into your visibility. Therefore, if you know where...

Illumination Model in Computer Graphics

Illumination Model in Computer Graphics The series of methods used to depict light in computer graphics scenarios is computer graphics illumination. Although lighting strategies provide versatility in the degree of detail and ongoing functionality, technological...

Rendering in Computer Graphics

Rendering in Computer Graphics Rendering is the operation, by virtue of a software system, of creating a picture from a template. In a specifically defined term or information structures, the model is a representation of three dimensional (3D) objects....

How to get current date in python?

How to get current date in python? In Python programming language, date and time are not just a data form, but it is possible to import a method called datetime to operate with both the date and time. The Datetime element is integrated with Python, so it does not...

Git diff

Git diff Overview The diff command in Git is generally a function that inputs two data sets and rolls out the changes made between them. It is a multitasking tool that is used to bring out the differences between two data sources. The data sets can be of any type, be...

Git Blame

Git Blame Overview The blame command is an extensively used utility tool for configuring various options and troubleshooting. It is a high-end sophisticated and versatile tool for displaying the metadata that is attached to some specific line in a file. The blame...

Collection Programs in Java

Collection Programs in Java Collection in Java provides a way to manipulate or store a group of objects. Each object in a collection is called element. Collection programs in Java mainly deals with the Java collection framework that provides various interfaces,...

Git submodule

Git submodule Overview Git submodules allow you to keep a git repository as a subdirectory of another git repository. Git submodules are simply a reference to another repository at a particular snapshot in time. Git submodules enable a Git repository to incorporate...

DAA: Density of a Binary Tree Algorithm

The Density of a Binary Tree Algorithm The density of a binary tree is defined as the ratio of the tree’s size to the tree’s height.  The height of the tree is two, and the size of the tree is 3. Hence the ratio is 1.5 Approach 1 The approach one is simple and...

DAA: Insert a node in Binary Search Tree

Insert a node in Binary Search Tree (BST) We have a Binary search tree and a key. Insert the key in the binary search tree if not present. In the above figure, the key to be inserted is 5. We have inserted it in the tree, and the modified tree is shown with the blue...

How to run Java Program in Eclipse

How to run Java Program in Eclipse In this section, we will learn how to write, save, compile, and execute or run a Java program in Eclipse. Eclipse is one of the important IDE (Integrated Development Environment) used for writing Java programs. Before moving ahead in...

How to run Java Program in Command Prompt

How to run Java Program in Command Prompt In this section, we will learn how to write, save, compile, and execute or run a Java program in the Command Prompt. Note: One must ensure that Java is installed in one’s system and PATH variable is set properly. To check...

Sorting Algorithms in Java

Sorting Algorithms in Java Sorting is the technique that puts the elements of an array or list either in descending or ascending order. For example, take an array A, whose elements are {x1, x2, x3, … xn}. The array A is said sorted when its elements either follow...

Pin It on Pinterest