Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arifulhb/coding-solutions
Coding Problems! Solutions in PHP
https://github.com/arifulhb/coding-solutions
algorithm-challenges algorithms codility codility-solutions data-structures hakerrank-solutions php php7 problems solutions
Last synced: about 1 month ago
JSON representation
Coding Problems! Solutions in PHP
- Host: GitHub
- URL: https://github.com/arifulhb/coding-solutions
- Owner: arifulhb
- Created: 2019-03-29T10:05:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T10:06:49.000Z (almost 6 years ago)
- Last Synced: 2024-11-09T23:29:17.273Z (3 months ago)
- Topics: algorithm-challenges, algorithms, codility, codility-solutions, data-structures, hakerrank-solutions, php, php7, problems, solutions
- Language: PHP
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Coding Problems! Solutions in PHP
By [Ariful Haque](https://arifulhaque.com)## Lesson 01: Binary Gap
Find longest sequence of zeros in binary representation of an integer.A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N.
## Lesson 02: Calculate Parking Fee
A parking garage charges a $2.00 minimum fee to park for up to three hours.The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours.
## Lesson 03: Find minimum cost of tickets
Find minimum cost of tickets required to buy for traveling on known days of the month `(1...30)`.