Article
In this tutorial, we'll take a look at how to get the current URL of a loaded HTML page, using JavaScript. Firstly, let's take a look at a URL: https://www.stackabuse.com:8080/category/article-title.html?searchterm=Example+title#2 It's a made-up URL, that contains several components -...
Dimitrije Stamenic
When developing web applications - we commonly use several technologies, and languages. A back-end can easily be built in Java (Spring Boot), Python (Django or Flask), or JavaScript (Node.js), though the front-end is more commonly done in JavaScript (React, Angular, etc). Sometimes, we even take the hybrid approach of...
In this guide, we'll walk you through the differences between two of Python's most popular data structures - Dictionaries and Arrays. Each of these provide a specific way of arranging your data, with pros and cons for certain tasks and knowing when to use which will allow you to leverage...
Lazar Ristic
In this tutorial, we'll take a look at some of the most common ways to find the last element in a list in Python. First, we will cover the simplest and most Pythonic way and then show some other alternative solutions afterward. Let's take a look at the list that...
The radix (or base) is the number of digits used to represent numbers in a positional numeral system. For the binary system, the radix is 2 (it uses only two digits - 0 and 1). For the decimal system, the radix is 10 (it uses ten digits to represent all...
It's not uncommon to have two dictionaries in Python which you'd like to combine. When merging dictionaries, we have to consider what will happen when the two dictionaries have the same keys. But first, we have to define what should happen when we merge. In this article, we will take...
Sathiya Sarathi Gunasekaran
Python's built-in sequence representation is a list, defined as a heterogeneous sequence of elements, where each element has a definitive index in the sequence. Note: Heterogeneous sequence means that one list can contain elements of different types. To use arrays, you'd have to import the array module, which does ship...
Luka Čupić
Structural Design Patterns are used to assemble multiple classes into bigger working structures. Sometimes interfaces for working with multiple objects simply don't fit, or you're working with legacy code you can't change but need new functionality, or you just start to notice your structures seem untidy and excessive, but all...
Darinka Zobenica
Binary Search is an efficient search algorithm that works on sorted arrays. It's often used as one of the first examples of algorithms that run in logarithmic time (O(logn)) because of its intuitive behavior and is a fundamental algorithm in computer science. In this article, we'll be diving into...
Olivera Popović
© 2013-2025 Stack Abuse. All rights reserved.