PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Busari Ridwan   Laravel Algorithm   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Algorithm
Implements several algorithms as Laravel services
Author: By
Last change:
Date: 2 years ago
Size: 1,683 bytes
 

Contents

Class file image Download

Algorithm Solutions

This repository contains different algorithm questions and solutions from hackerank, leetcode and some of Vanhack code test. To run the algorithms, use the following steps as all will be through the laravels `php artisan command`

The following step will be taken to run the different algorithm classes in the repo.

  1. Clone the repository
  2. Run ````composer install````
  3. Run ```php artisan``` to see all the artisan commands
  4. Pick the one that suites the algorithm topic you wanna run. The artisan commands is formed with the topic of the algorithm test.

Barter Market

To run the barter market test on any combination of inputs, follow the steps below

  1. 
    
  2. Supply the combination of inputs
  3. Wait for the expected result

Palindrome Numbers

Run through the following steps below

  1. 
    
  2. Supply the number to be checked
  3. Wait for the output result

Median of two sorted arrays

Run through the following steps

  1. 
    
  2. supply the numbers as requested
  3. Wait for the calculated median

Reverse Integer

  1. 
    
  2. Supply the integer to be reversed
  3. Wait for the expected result/output

Integer to Roman

  1. 
    
  2. Supply the integer to be converted to roman numeral
  3. Wait for the equivalent output

Roman to Integer

  1. 
    
  2. Supply the roman numerals to be converted to integer
  3. Wait for the equivalent output

NB

Pull request are equally welcome as this is an open source repository