Algorithms

Graph traversal

In computer science , graph traversal is the problem of visiting all the nodes in a graph in a particular manner, updating and/or checking their values along the way. Tree traversal is a special case of graph traversal. [ edit ] Redundancy
In computer science , tree traversal refers to the process of visiting (examining and/or updating) each node in a tree data structure , exactly once, in a systematic way. Such traversals are classified by the order in which the nodes are visited. The following algorithms are described for a binary tree , but they may be generalized to other trees as well. [ edit ] Types Compared to linear data structures like linked lists and one dimensional arrays , which have a canonical method of traversal (namely in linear order), tree structures can be traversed in many different ways.

Welcome - LiteratePrograms

Welcome to LiteratePrograms ! LiteratePrograms is a unique wiki where every article is simultaneously a document and a piece of code that you can view, download, compile, and run by simply using the "download code" tab at the top of every article. See Insertion sort (C) for a simple example.

Introduction - Clever Algorithms

Welcome to Clever Algorithms! This is a handbook of recipes for computational problem solving techniques from the fields of Computational Intelligence, Biologically Inspired Computation, and Metaheuristics. Clever Algorithms are interesting, practical, and fun to learn about and implement. Research scientists may be interested in browsing algorithm inspirations in search of an interesting system or process analogs to investigate. Developers and software engineers may compare various problem solving algorithms and technique-specific guidelines. Practitioners, students, and interested amateurs may implement state-of-the-art algorithms to address business or scientific needs, or simply play with the fascinating systems they represent.
NoSQL Databases

Compression, Searching

MapReduce

Java Programming, Notes # 1486 Preface Programming in Java doesn't have to be dull and boring. In fact, it's possible to have a lot of fun while programming in Java. This lesson is one in a series that concentrates on having fun while programming in Java.

Fun with Java, Understanding the Fast Fourier Transform (FFT) Algorithm

A distributed hash table ( DHT ) is a class of a decentralized distributed system that provides a lookup service similar to a hash table ; ( key , value ) pairs are stored in a DHT, and any participating node can efficiently retrieve the value associated with a given key. Responsibility for maintaining the mapping from keys to values is distributed among the nodes, in such a way that a change in the set of participants causes a minimal amount of disruption. This allows a DHT to scale to extremely large numbers of nodes and to handle continual node arrivals, departures, and failures. DHTs form an infrastructure that can be used to build more complex services, such as anycast , cooperative Web caching , distributed file systems , domain name services , instant messaging , multicast , and also peer-to-peer file sharing and content distribution systems.