here is one such algorithm
https://github.com/pablof7z/dvm-references/blob/master/apps/dvms/src/dvms/you-might-have-missed.ts
fetch events you signed
fetch your follows
compute activity windows (i.e. clustered time windows in which you were active)
fetch reposts from your follows
remove events where a repost occurred during a time in which you were active
return the list of stuff your follows reposted while you were away
and this is what the output can look like