Explore
EXPLORE THE CATALOG
Supercharge your career with 700+ hands-on courses
View All Courses
Python
Java
JavaScript
C
React
Docker
Vue JS
R
Web Dev
DevOps
AWS
C#
LEARNING TOOLS
Explore the industry's most complete learning platform
Courses
Level up your skills
Cloud Labs
Setup-free practice with Cloud Services
Skill Paths
Achieve learning goals
Projects
Build real-world applications
Assessments
Benchmark your skills
Personalized Paths
Get the right resources for your goals
LEARN TO CODE
Check out our beginner friendly courses.
Pricing
For Business
Resources
Blog
For developers, By developers
Cheatsheets
Download handy guides for tech topics
Webinars
Sessions with our global developer community
Answers
Trusted answers to developer questions
Search
Search
Log In
Join
for free
Explore
EXPLORE THE CATALOG
Supercharge your career with 700+ hands-on courses
View All Courses
Python
Java
JavaScript
C
React
Docker
Vue JS
R
Web Dev
DevOps
AWS
C#
LEARNING TOOLS
Explore the industry's most complete learning platform
Courses
Level up your skills
Cloud Labs
Setup-free practice with Cloud Services
Skill Paths
Achieve learning goals
Projects
Build real-world applications
Assessments
Benchmark your skills
Personalized Paths
Get the right resources for your goals
LEARN TO CODE
Check out our beginner friendly courses.
Pricing
For Business
Resources
Blog
For developers, By developers
Cheatsheets
Download handy guides for tech topics
Webinars
Sessions with our global developer community
Answers
Trusted answers to developer questions
Search
Search
Log In
Join
for free
Find the Right Answer Every Time
Educative Answers is a free web encyclopedia written by devs for devs. Find the answers you need with our short and verified articles that feature executable code.
Answers Home
Saved Answers
Trending Answers
Answers Home
Saved Answers
Trending Answers
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 ...
java
palindrome
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...
javascript
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...
python
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...
deep
shallow
copying
vs
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...
shallow
deep
python
copies
What are explicit defaultProps?
Browsing around the internet, I stumbled on Airbnb’s javascript Github repo where they keep a list of best practices on JavaScript. Not only on JS but...
javascript
What is apache Hadoop?
Overview With time, the need to store and process big data has increased as traditional frameworks and hardware proved to be insufficient to deal with...
framework
big data
data management
opensource
What is the LinkedHashMap.remove method in Dart?
Overview The LinkedHashMap is a hash-table based implementation of Map Map contains a list of key-value pairs as an element. . The LinkedHashMap maint...
linkedhashmap
remove
dart
What is an Abend?
Abend , also known as ab normal end or AbEnd is an abnormal termination of a computer program that is usually a result of erroneous software logic. An...
software
definition
abend
abnormal end
error
How to write an if-else condition in Ruby
if-else is a conditional statement that runs a set of instructions depending on whether the condition is true or false . Syntax Code In the code below...
ruby
if-else
AWS Certified DevOps Engineer - Professional
Cloud Storage 6 AWS Certified DevOps Engineer This certification is intended for individuals who are in a DevOps engineering role and have at least tw...
aws
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
What is function composition in Ruby?
Introduction What’s function composition? Why does it matter? In functional programming languages, such as Haskell, we are able to define functions an...
ruby
What is AWS CodeCommit?
AWS CodeCommit is a fully managed AWS service that allows teams of developers to securely store, track, and manage changes to their code repositories....
Methods of traversing a binary search tree
A Binary Search Tree (BST) is a binary tree where each node has a key and a value. It allows addition, removal, and fast lookup of items stored in it....
How to use the WeakHashMap.put() method in Java
Overview The WeakHashMap is a kind of a Map whose implementation is based on the HashTable . The WeakHashMap only stores WeakReference type values as ...
java
hashmap
hashtable
What is the some method in JavaScript Arrays?
some() is a built-in method we can use with the Array type in JavaScript. The following is the method prototype: Array.some(function(currentValue, ind...
javascript
What is the SortedSet.tailSet() function in Java?
The SortedSet.tailSet() method is present in the SortedSet interface inside the java.util package. SortedSet.tailSet() is used to return the elements ...
java
What is a CSS unit?
A CSS unit is the standard of measurement used in CSS to express the size of a specific element’s property. Types of CSS units 1. Absolute length unit...
css
units
html
code
Load More
Topics