Write an algorithm for user identification

Dmitry
Employer

[no-member:pro]Dmitry[/no-member:pro]

1 projects
Project parameters
Type of cooperationOne-time project
Prepaymentwithout prepayment
Acceptance of requestsfrom until May 5, 2021
Project description
The services of a web programmer are required. You need to write an algorithm for user identification. The algorithm’s mechanics must be used to check the number of active users.
On the instagram site, you will need to identify the person who left both a like and a comment.
If the person left more comments and likes, then count him as one person.
If a person left a comment, but did not leave a like and in a hurry - do not count the person.
Project author: [no-member:pro]Dmitry[/no-member:pro]