All Questions
4 questions
2
votes
2
answers
2k
views
Simple implementation of LRU caching in PHP
This is my implementation of LRU caching in PHP.
It works fine when I tested as. What are the things that I miss or need attention?
...
1
vote
3
answers
105
views
PHP function to extract numbers from the list whose squares are exceed some threshold
This is my naive approach:
...
1
vote
1
answer
598
views
Recode algorithm for merged cells on HTML table
Is there any way to improve this algorithm maybe making it so faster avoid using foreach? Maybe with a recursion?
The output of my algorithm is a table with 3 merged columns, each row will have its ...
7
votes
1
answer
87
views
Merging lines of an array
I've got an array like this, which is a result from a Google analytics request. I asked for the amount of visits for the last three months.
...