Gate-to-gate walking isn't the problem. It's landing 15 minutes late at an airport with probable tarmac holds/delays.
And your LGA ride waiting.
You land on time, taxi directly to gate and the jetbridge operator isn't working another arrival, 35 minutes is fine.