**computer-science**

Solving the Zebra Puzzle with Boolean Algebra

5 days ago by xenocid

Solving the Zebra Puzzle with Boolean Algebra - Added December 23, 2017 at 11:19PM

computer-science
interview
puzzle
read2of
5 days ago by xenocid

Michael Feathers - 10 Papers Every Developer Should Read

5 days ago by jonny

10 Papers Every Developer Should Read - (At Least Twice)

computer-science
cs-papers
programming
programming_improvement_plan
5 days ago by jonny

[1801.10139] Analysis of the Continued Logarithm Algorithm

14 days ago by Vaguery

The Continued Logarithm Algorithm - CL for short- introduced by Gosper in 1978 computes the gcd of two integers; it seems very efficient, as it only performs shifts and subtractions. Shallit has studied its worst-case complexity in 2016 and showed it to be linear. We here perform the average-case analysis of the algorithm: we study its main parameters (number of iterations, total number of shifts) and obtain precise asymptotics for their mean values. Our 'dynamical' analysis involves the dynamical system underlying the algorithm, that produces continued fraction expansions whose quotients are powers of 2. Even though this CL system has already been studied by Chan (around 2005), the presence of powers of 2 in the quotients ingrains into the central parameters a dyadic flavour that cannot be grasped solely by studying the CL system. We thus introduce a dyadic component and deal with a two-component system. With this new mixed system at hand, we then provide a complete average-case analysis of the CL algorithm, with explicit constants.

number-theory
numerical-methods
representation
computer-science
computational-complexity
rather-interesting
algorithms
continued-fractions
to-write-about
14 days ago by Vaguery

GitHub - trekhleb/javascript-algorithms: Algorithms and data structures implemented in JavaScript with explanations and links to further readings

15 days ago by apiontek

Algorithms and data structures implemented in JavaScript with explanations and links to further readings.

This repository contains JavaScript based examples of many popular algorithms and data structures.

Each algorithm and data structure has its own separate README with related explanations and links for further reading (including ones to YouTube videos).

algorithms
computer-science
compsci
data-structures
javascript
This repository contains JavaScript based examples of many popular algorithms and data structures.

Each algorithm and data structure has its own separate README with related explanations and links for further reading (including ones to YouTube videos).

15 days ago by apiontek

Algorithm Archive

18 days ago by lenciel

The Arcane Algorithm Archive is a collaborative effort to create a guide for all important algorithms in all languages

computer-science
algorithm
18 days ago by lenciel