Free reference list download - reference list script - page 38 - Top 4 Download

Reference List scripts

List iterator with advance and regress

The basic iterator for a list doesn't allow one to skip forward (except with "continue"), ... all), nor does it behave well if the list is modified while it is being traversed. This script is NOT the be-all and end-all of improved iterators, but it gives a few ideas of how a better one ...
Python

Binary search in one line

... one line. Given a number 'n' and a list 'L', the function returns the index of the number on the list, or -1. ...
Python

Implementation of sets using sorted lists

This script implements set operations using sorted lists as the underlying data structure. Advantages: - Space savings -- lists are much more compact than a dictionary based ... its sort invariant. Disadvantages:  -  Set construction uses list.sort() with potentially N log(N) comparisons. - Membership ... element addition use log(N) comparisons. Element addition uses list.insert() with takes O(N) time. ...
Python

Convex hull and diameter of 2d point sets

... pair of points), given input consisting of a list of 2d points represented as pairs (x,y). The convex hull algorithm is Graham's scan, using a coordinate-based sorted order rather than the more commonly seen radial sorted order. A rotating calipers algorithm generates candidate pairs of vertices for the diameter calculation. ...
Python

Two pass Pairing Heap with Auxiliary List

... better than the builtin sort. Because of the list of lists data structure, it always takes more memory than either heapq or the builtin sort. ...
Python

Find the most frequent elements

This script returns a sorted list of the most common to least common elements and their counts. If n is specified, return only the n most common elements. ...
Python

List Generator Monad Combinators

The List monad in Haskell has many uses, including parsing ... iterables, and returns a generator rather than a list in order to preserve a lazy semantics. ...
Python

TryFinally

... and destruction. For instance, if you have a list of 50 things that need to get intialized ... try/finally (especially if you need to create the list dynamically) this function is appropriate. ...
Python

FTP for NET

... includes over 3 dozen tutorials and a comprehensive reference guide. - Copy files between your client ... and file data will even spool to/from memory. Listings are captured as objects, so parsing is eliminated - a superior performer for your most demanding applications. - Ftp component can be used ...
ASP.NET

Splicing of lists

This script splices any number of nonempty lists as one list. Each input list may be of different length.Elements of shorter lists may be recycled when the keyword argument recycle ... True. Any error result in an empty output list. ...
Python

Reference List scripts download notice

Top 4 Download periodically updates scripts information of reference list full scripts versions from the publishers, but some information may be slightly out-of-date.

Using warez version or not proper reference list script install is risk. Download links are directly from our mirrors or publisher's website, reference list torrent files or shared files from free file sharing and free upload services, including Rapidshare, HellShare, HotFile, FileServe, MegaUpload, YouSendIt, Letitbit, DropSend, MediaMax, LeapFile, MyOtherDrive or MediaFire, are not allowed!