Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / spaniard89 / Codility-PHP-Q2
Public GitHub Catalog Discovered Sep 27, 2026

spaniard89 / Codility-PHP-Q2

I recently took a codility test and decided to make some repos based on the questions as an opportunity show some of my coding abilities in PHP. This solution shows how to programatically create the following function and has supporting PHPUnit tests. P(0) = 1. P(N) = (A * P(N−1)) mod B if N > 0. For example, if A = 4 and B = 9 then P(0) = 1, P(1) = 4, P(2) = 7, P(3) = 1, etc.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#10888645GitHub System ID
spaniard89Organization / User
PublicVisibility
ActiveCatalog Status

More from spaniard89

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.