Question: How to create a listlist of all operands of an expression

Example: For

ex:=(a+b*c)^2

I would like to get the following output

[`^`, [`+`, [`*`, b, c], a], 2]

 

I am mainly looking for "elegant" code (short but understandable).

If a one-liner is doable, which I doubt, I would be interested as well.

 

Please Wait...