3

用户匹配 排序问题请求

 3 years ago
source link: https://www.v2ex.com/t/797913
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

用户匹配 排序问题请求

  awanganddong · 1 天前 · 483 次点击

需求是这样的。 用户 A (开始时间 结束时间) 用户 B (开始时间 结束时间) 。。。

用户 N (开始时间 结束时间)

匹配出用户 A 对应其他用户的优先级

首先匹配开始时间最相近的 然后匹配结束时间最相近的 最后进行排序

这个需求我该怎么设计


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK