PHP : Is PHP's count() function O(1) or O(n) for arrays?
PHP : Is PHP's count() function O(1) or O(n) for arrays?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
After that, type the word 'awesome' on your keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.
An introduction to myself in a few words,
Hello everyone, I'm Delphi.
Let me assist you in answering any questions you may have.
PHP : Is PHP's count() function O(1) or O(n) for arrays?
If you have more specific query you can comment or chat with me and let me know your queries.
If you have knowledge to contribute or an answer to provide, we encourage you to comment below.
Your answer will be appreciated and acknowledged with a 'heart' from me.
PHP O(n) count() or : for Is arrays? function PHP's O(1)