摘要: You are given a list of preferences for n friends, where n is always even. For each person i, preferences[i] contains a list of friends sorted in the  阅读全文
posted @ 2020-09-16 10:27 Schwifty 阅读(226) 评论(0) 推荐(0)
摘要: Given a rows x cols matrix mat, where mat[i][j] is either 0 or 1, return the number of special positions in mat. A position (i,j) is called special if 阅读全文
posted @ 2020-09-16 08:37 Schwifty 阅读(246) 评论(0) 推荐(0)