Fermin Perdomo

Senior Full Stack Engineer | PHP | JavaScript

Posts

How to implement the bubble sort in PHP

What is bubble sort?

Bubble sort is a simple sorting algorithm that repeatedly iterates through an array, comparing adjacent elements and swapping them if they are in the wrong order. It is called "bubble sort" because the larger elements "bubble" to the top of the array as they are being sorted.

Learn How to Use PHP Generators for Data Iteration

A generator is a special type of function in PHP that allows you to create an iterable set of data without having to store the entire set in memory at once. This can be useful in situations where you need to work with large datasets or when you want to generate data on the fly.

Getting started with counting and sorting numbers in PHP

Have you ever needed to count the number of times each integer appears in an array? This is a common problem that can be solved using a simple algorithm. In this post, we will walk through an efficient way to solve this problem and provide sample code in PHP.

Master These Algorithms for Success in Your Software Interview

As a software developer, you know that algorithms are a crucial part of the job. They help you solve complex problems and write efficient code and are also a common topic in software interviews. If you are preparing for a software interview, it is essential to have a solid understanding of a few key algorithms and their applications.

Simplify Your JSON File Processing with Simple JSON in PHP

If you frequently work with JSON files, you know how important it is to have a reliable and efficient way to read and write them. The new Simple JSON package makes this easy with its simple and intuitive interface.

Newer articles