Tag: Algorithms
-
Exploring QuickSort: From C to Bare-Metal ARM Assembly on Raspberry Pi
QuickSort is a powerful and efficient sorting algorithm that’s widely used in computer science and software engineering. It’s known for its speed and simplicity, making it a popular choice for various applications. In this blog post, we’ll explore QuickSort’s implementation in both C and bare-metal ARM assembly language, specifically targeting Raspberry Pi. QuickSort in C…
-
A Stream API Example In Java 8
Streams To start with, we will go over a simple yet interesting problem in Java: finding the second smallest value in an array. There are a few different approaches we could take. The most obvious would be sorting the array, skipping the first element (and any duplicates). However, a more efficient approach could be taken…