Ty Corbin promised his team would fight to the end.

And on Wednesday night in Minnesota, they finally did. The Jazz snapped a five-game losing streak, capping a difficult season of rebuilding with a victory — a feat that hasn’t come easy or often this year — as they downed the Timberwolves 136-130 in double-overtime.

Rookie point guard Trey Burke led the way with a team-high 32 points, nine assists and seven rebounds. Swingman Gordon Hayward fell an assist shy of a triple-double, finishing with 23 points, 10 rebounds and nine assists.

The Jazz will enter the offseason with plenty of questions unanswered, chief among them:

• What will happen to Corbin, who in his fourth year as the franchise’s head coach is without a contract beyond this season?

• Will Hayward, a restricted free agent, the team’s leading scorer and one of five players in the NBA this year to average 16 points, five rebounds and five assists, be back in a Jazz uniform next season?

• And can this young roster eventually be shaped into a winner?

But following Monday’s victory, in which the Jazz shot 49 percent and out-rebounded the Wolves 60-45, this Jazz team does know a few things.

Firstly, they know better where they’ll stand in the May lottery.