All |
Popular |
Newest |
Recently Updated |
Highest Rated

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

# Popular algorithms

- gcd_euclid [edit] v0.1
*Find the greatest common divisor (also known as the greatest common factor or highest common factor) of two numbers using the Euclidean algorithm.* - simple_calculator [edit] v0.3
*Uses a callback to implement a simple calculator.* - insert_into_words [edit] v0.1
*Insert a string between the letters of each word in another string.* - point_in_polygon [edit] v0.1
*Check to see if a point is within a polygon.* - raise_polygon [edit] v0.1
*Project a flat polygon into three dimensions.* - validate_url [edit] v0.2
*Use a regular expression to check that an URL is syntactically correct.* - binary_search [edit] v0.1
*Search a SORTED array for an item using the binary search method. Check the middle of the array to see if it is the item. If not, search either the lower half or the upper half depending on whether the middle item is greater or lesser than the item. Returns the index of the item, or -1 if item is not found.* - image_callback [edit] v0.1
*Use a callback to perform successive operations on an image.* - evaluate_equation [edit] v0.2
*Evaluate an equation. The values for variables must be passed in the values array.* - flip_image [edit] v0.1
*Flip an image along an axis.* - simple_download [edit] v0.1
*Download a PNG image.* - calculate_median [edit] v0.2
*Calculate the median (middle value) of a set of numbers.* - number_string [edit] v0.3
*Turn a number into a string, for example turn 11 to "eleven".* - simple_choice [edit] v0.1
*What's for lunch? This algorithm simply echoes your choices.* - check_isbn10 [edit] v1.0
*Validates the check digit in a 10-digit ISBN number. NOTE: ISBN must be 10 digits and only numbers. Error handling must be performed in the calling function.* - draw_bezier [edit] v0.1
*Draw a Bezier curve specified by the four points p0, p1, p2, p3.* - insertion_sort [edit] v0.2
*Implementation of "insertion" sort. Traverses the array once, making sure everything that it has passed is in the right order.* - number2roman [edit] v0.1
*Convert a number to Roman numerals.* - word_count [edit] v0.1
*Count the number of words in text.* - decode_phpstring [edit] v0.1
*Decode a string which may contain PHP octal or hexidecimal notation to represent ASCII characters. Octal notation is of the form \NNN where NNN is a 3-digit octal number. Hexidecimal notation is of the form \xMM where MM is a 2-digit hex number.*