Yes, you are right. Actually, if the underlying database associates each vote with a post already, you don’t need any additional data structures, you can do it all through SQL queries...
Yes, you are right. Actually, if the underlying database associates each vote with a post already, you don’t need any additional data structures, you can do it all through SQL queries...