あげく・結果・の結果: the difference
あげくN2
Meaning
After, In the end, After all, Eventually
Past papers
Example
何度も道を間違えた挙げ句に、約束の時間に2時間も遅れた。
After taking the wrong way again and again, I was a whole two hours late for the appointment.
結果・の結果N2
Meaning
As a result of
Past papers
Example
叫んで暴れた結果、逮捕された。
As a result of shouting and acting violently, I got arrested.
How to tell them apart
「結果」: neutral, good or bad; it just follows cause and process.
「あげく」: almost always a bad outcome. 「散々迷ったあげく、買わなかった」 (After a lot of dithering, I didn't buy it).
「末に」: after a long struggle or deep thought, a major conclusion; good or bad.