What is Amazon CloudWatch?
Key takeaways: Amazon CloudWatch is a vital service for monitoring AWS resources and applications. Basic metrics are automatically collected at predef...
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 ...
Project Euler 42: Coded triangle numbers
Problem statement The n t h nth n t h term of the triangular sequence is defined as: Tn = n*(n+1)/2 Word score is the sum of each of its letter’s posi...
dynamic programming
project euler
What is the CalendarUtils.getDayOfMonth() method in Java?
Overview In Java, getDayOfMonth() is an instance method of the CalendarUtils class to get the current day of the month. How to import CalendarUtils Th...
What is Kanban?
Kanban is a Japanese term that means signs or visual boards. It was developed by Toyota in the late 1940s as a management system for just-in-time manu...
How to find the mid of a singly linked list in a single traversal
Overview Given a singly linked list, find the middle node/element of the list in a single traversal. Example 1: Input - 1 -> 2 -> 3 -> 4 -&g...
What is wcsncmp in C?
The wcsncmp function compares the characters of two wide strings, until a specific number of characters, a null character or a character mismatch. It ...
What is NumberUtils.toDouble() in Java?
Overview toDouble() is a static This describes the methods in Java that can be called without creating an object of the class. method of the NumberUti...
What are unaligned typecasts in Pascal expressions?
In the Pascal programming language, typecasting enables us to assign values to variables and expressions that are not compatible with the variable's o...
What is Python used for?
What does Python offer? Code readability and simplicity Supports open source software frameworks Robust standard library Supports diverse programming ...
What is swscanf in C?
Defined in the wchar.h header file, swscanf reads the provided wide string, formats it according to the format wide string, and finally stores the res...