how do you find the initial velocity and final velocity of a ball shot up and off a cliff using only the distance and max height and time

2 answers

What do you mean distance? Horizontal distance? Vertical distance?

Questions in physics are seldom general.
nevermind, i already found the answer, thank you very much for your help, though.