Sub Categories in Q&A

I have enabled 36 categories for the Questions. Most of the categories have multiple sub categories as well. How can I enable subcategories from a selected category to be shown as a “widget”.

For example, when a user selects the category “Automotive Services”, I would love to have a widget on the right side which shows the sub categories under “Automotive Services”