Harry, Tom and I each replaced each asterisk in the diagram below with a single digit, such that the two horizontal 4-digit numbers, the horizontal 3-digit number and the vertical 5-digit number were all perfect cubes:
****
*
***
*
****
We each found a different solution that used exactly nine of the ten digits 0-9. Harry's unused digit was the same as Tom's.