First thing to do is reading this: http://www.question2answer.org/plugins-tutorial.php
After that, depending on how you want to give the title, the post with most views, the one with most votes etc etc you will need to create a new db field probably, and have a script running in cron to check that every day and every week.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.