Skip to content

triklozoid/tasks_set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests

Clone repo and run:

make test

Get shell to run something manually

make run

Description

Date Calculation

The Irish lottery draw takes place twice weekly on a Wednesday and a Saturday at 8pm. Write a function that calculates and returns the next valid draw date based on an optional supplied date time parameter. If no supplied date is provided, assume current date time

Least recently used cache

Implement a least recently used (LRU) cache mechanism as a decorator and demonstrate it use in a small script. The LRU must be able to admit a ‘max_size’ parameter that by default has to be 100. Candidates are advised to consider how an LRU cache should work. One source of information is: https://en.wikipedia.org/wiki/Cache_replacement_policies#LRU

Find the anagram

Write a function that accepts a word (string) and a list of words (list or tuple of strings) and return back a list with the valid anagrams for the word inside the given words list.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published