Lello De Luca's repositories
buy-button-js
BuyButton.js is a highly customizable UI library for adding ecommerce functionality to any website.
circular-list
Write a function that receives the head of a linked list, and returns a boolean reflecting whether the list is circular or not. A list is considered linear when its last node "next" property is undefined (or null), and circular when instead it points back to one of the previous nodes. As a constraint, to solve this problem you are not allowed to keep track of the nodes you visit (or their values). You need to think out of the box.
common-ancestor
Write a function that takes two nodes of a tree and returns the closest common ancestor, or returns null if there isn't any. It should also handle edge cases, for example when either of the nodes is the tree itself, or both nodes are the same.
cows_gone_mad_contract
The official Cows Gone Mad ERC721 smart contract.
evented-thing
Define the "EventedThing" class, so that its instances have an "on" and a "trigger" method to react to events.
fix-this-asap
Hi techies! One of our clients is complaining about the billing section of our app. He says that the tax of his last invoice appears to be 0.020000000000000004 while it should be 0.02. Can you please check the tax computation, and make sure we don't get this problem in the future by extending the tests?
fplmanager-website
A website that allows users to log into their fantasy football accounts and perform Linear Optimisation on their squad
highest-word-count
Write a function that given a string returns an array containing the most frequent word in it.
spiral-traversal
Write a function that accepts a matrix in string form (where columns are comma-separated, and each row is on a new line), and spirally traverses the matrix (from upper left to the center), returning a string that contains each value in respective order (comma-separated).
storybuilder
A react app for creating stories in a photo album
tedx-pretoria
Website for TEDx Talks in Pretoria, South Africa