let vs. var vs. const in JavaScript
In JavaScript, we can create a variable using three keywords: let var const What is Scope? Scope is the accessibility during runtime of variables, fun...
What is a pass statement in Python?
A pass statement is an empty/null statement that is considered as a placeholder for future code. When a user doesn’t want to write a code, or is not a...
What are shallow and deep copies?
Shallow copy In a shallow copy , the references of an object are copied in another object when we copy the object. The referenced object itself is not...
What is a uniform cost search algorithm?
Search algorithms are used to resolve search problems. For example, search for the shortest path between two given points, searching for a goal, and s...
uniform cost search
ucs
algorithm
How to check for Palindrome numbers in Java
A palindrome number is a number that has the same value as that of the original number when reversed, e.g., 121, 111, 1223221. If you were to reverse ...
How to setup AWS VPC
AWS virtual private cloud (VPC) is a service provided by AWS that allows you to create and manage your virtual network infrastructure within the AWS c...
aws
vpc
virtual private cloud
amazon
cloud
Deep copying vs. shallow copying
Let’s take two objects of the same type (A and B) where the contents of A are to be copied into B. Let’s see how this copying will take place in the c...
What is an arrow function in JavaScript?
Arrow function or an arrow function expression is a more concise syntax for writing regular function expressions that allow us to write shorter and n...
Deep learning
Deep learning is a subset of machine learning that involves using artificial neural networks to imitate the structure and the function of a human brai...
machine learning
ai
artific
data science
Vue vs. React
React is a JavaScript UI framework created by Facebook and made open source in May 2013. React is significantly more popular than Vue; at the time of ...
What are toNanosPart() and toDaysPart() in Java duration class?
The toDaysPart() method toDaysPart() is an instance method of the Duration that obtains the number of days in the Duration object. The number of days...
What is the StringUtils.lastIndexOfAny method in Java?
Overview The lastIndexOfAny() method is a static the methods in Java that can be called without creating an object of the class. method of StringUtils...
What is the CopyOnWriteArrayList.addAllAbsent method() in Java?
What is CopyOnWriteArrayList ? The CopyOnWriteArrayList method is a thread-safe implementation of ArrayList without the requirement for synchronizatio...
The HashSet.skipwhile() method in Dart
Overview The skipWhile() method accepts a boolean test function as a parameter. Every element in the hash set is passed through the boolean test func...
What is the zoom property in CSS?
The zoom property specifies the scale by which an object is magnified. It is a non-standard property and was introduced by Internet Explorer. The zoom...
What is the Period.is_leap_year attribute in pandas?
Overview The is_leap_year attribute of a Period object in Pandas checks whether the date of the Period is a leap year. Syntax The is_leap_year attribu...
What is strlen() in PHP?
The strlen() function in PHP is used to calculate the size of a string. The illustration below shows the mathematical representation of the strlen() f...
How to add sprites in three.js
Adding sprites in three.js Three.js is a JavaScript library that is built on top of WebGL and is used for rendering animations on the web. We can also...
What is gmp_neg in PHP?
gmp_neg is a function in PHP that returns the negative of a GMP number. The following illustration shows the visual representation of the gmp_neg func...
What is the difference between NodeJS and ReactJS?
Node.js and React.js are two different technologies based on JavaScript technology. Both are used for different purposes. We use Node.js to construct ...