Skip to content

Simple PHP Class to compare values in an array to find the total quantity within a specified deviation of each other.

Notifications You must be signed in to change notification settings

boringgeek/compareValues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

compareValues

This example accepts two lines of input from STDIN The first line consists of two integers separated by a space. The first integer is a total number of values that we wish to compare. The second number is the deviation we want to find The second line consists of a series of integers separated by a space.

The desire is to count the total number of integers whos are wtihin the specified deviation Additionally, the desire is to minimize the computational time complexity as best you can

That being said, this may not be the most efficient way to do this so, by all means, let me know if you there is a better way.

About

Simple PHP Class to compare values in an array to find the total quantity within a specified deviation of each other.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages