All bikes have a certain amount of adjustability. With that frame size, I would check if the seat can go high enough to give you proper leg extension.
On the downstroke, your new knees should be bent just a little. A little more to it than that, but thats a good rule-of-thumb
A lot of new riders have their seats set too low, that make a big(negative) difference on up-hill sections.