Article
When consuming APIs or retrieving data from an array, you may encounter data that repeats itself, but you only want to select the unique values. For example, assume you have an array representing a restaurant menu, as shown below. You might need to retrieve available categories from that array -...
Joel Olawanle
More often than not we find ourselves counting the number of days from or to a particular date. Luckily, doing just that in Java is not very hard, and there are also quite a few ways to do it. So, in this article, we'll be taking a look at how...
Branko Ilic
A website's carousel or slider is an effective way to display multiple images or content in a single space. It encourages visitors to concentrate on important website content while also improving overall visual appeal by saving screen space. In this article, we will learn how to create a draggable carousel...
A component is the probably most important concept to understand in React. It is one of the core building blocks of React that allows us to split a UI into independent, reusable pieces, making the task of building UIs much easier. All of these independent components are then combined into...
Objects are used to store a set of properties, each of which can be thought of as a link between a name (or key) and a value (a collection of key-value pairs). In this guide, we will learn how to get the length of a JavaScript object. Checking the length...
Events usually represent some type of interaction between the user and the app - any time a user clicks on the object, types in the input field, drag or drop some element, and so on. Therefore, each event usually requires some type of reaction from the app. Each time a...
Deployment is the process of moving our code from a source control system to a hosting platform where it gets stored, and can be served as an application to end users. Typically, this is done either in the cloud or on a local server. Prior to the advent of cloud...
Lists and tuples are two of the most commonly used data structures in Python, with dictionaries being the third. Lists and tuples have many similarities: They are both sequence data types that store a collection of items They can store items of any data type And any item is accessible...
Nicholas Samuel
In Python, a set is a data structure that stores unordered items. The set items are also unindexed. Like a list, a set allows the addition and removal of elements. However, there are a few unique characteristics that define a set and separate it from other data structures: A set...
© 2013-2025 Stack Abuse. All rights reserved.