Link Details

Link 934935 thumbnail
User 225256 avatar

By mswatcher
via variadic.me
Submitted: Mar 06 2013 / 11:52

Recently I came across a problem that I know has been solved many times but I’ve never really looked into before. The goal was to be able to show the last 5 entries that had been accessed, ordered by access. This also assumes that each entry can only be shown once, even if accessed multiple times. A practical example would be a web page showing the last few articles that have been accessed or a store showing the last items bought.
  • 2
  • 0
  • 319
  • 91

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java