Challenge Accepted

Interview Questions in Javascript.

Without Using Rand Function per se...

Create a RAND7 generator that relies only on the output from a RAND5 generator.

Your solution should output the integers from 1 to 7, inclusive, with nearly equal frequency.

Enable JS for best results.

Generate a linked list

In JS, create a dynamic linked list of arbitrary size.

Allow the user to interactively select the list size.

code image


Given a string, find the longest stretch of unique chars without a repeat.

For example, in "baseball", the longest string with no repeats is "sebal".

code image
Enable JS for best results.


Implement word wrap.

Given a long text as a single string, break the text into lines of any requested length.

code image
Enable JS for best results.

Rotation CSS

I was reading the documentation for rotation and realized CSS can rotate an existing rotation in the same space, creating compounded effects.