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 is the remove method in Mojo::DOM?
Overview The remove method removes the given HTML/XML element. This method is provided by the Mojo::DOM module, which is an HTML/XML DOM parser with C...
How to use Hashtable.put method in Java?
A HashTable is a collection of key-value pairs. The put method maps the passed value to the specified key in the Hashtable . Syntax public V put(K key...
What is the LinkedHashSet.containsAll in Java?
The LinkedHashSet is similar to the HashSet except that it maintains the insertion order of elements, whereas HashSet does not. Read more about. Linke...
containsall
linkedhashset
java
What is SystemUtils.isJavaAwtHeadless() in Java?
Overview isJavaAwtHeadless() is a static describes the methods in Java that can be called without creating an object of the class method of SystemUtil...
What is the ConcurrentLinkedDeque.removeLast() method in Java?
The ConcurrentLinkedDeque is thread-safe unbounded deque . The null value is not permitted as an element. We can use the ConcurrentLinkedDeque when mu...
removelast
concurrentlinkeddeque
java
How to create and use SplayTree in Julia
Overview SplayTree is a self-balancing binary search tree. It has an additional property with the recently accessed elements to quickly access it. The...
splaytree
julia
data structures
What is the encode() method in Euphoria?
Overview The encode() method performs a conversion operation on strings. It converts all non-alphanumeric characters to their percent-sign hexadecimal...
What is Ds\Queue::count() in PHP?
The Queue::count() function in PHP returns the number of elements in a queue. In short, this function is used to get the current size of the queue. Fi...
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...