How to plot the following figure via matlab hist function?

Group 1: [10, 10, 20]; and Group 2: [15, 10, 8]. Each group consists of three algorithms' running times.

[![enter image description here](https://i.stack.imgur.com/1hDcx.png)](https://i.stack.imgur.com/1hDcx.png)