In terms of power Ravana has a slight edge due to divyastras. However it's not possible for each other to kill themselves . Ravan powers falters in front of Hanuman . Hanumans brute strength alone is not enough to kill Ravana he will simply keeps coming back regenerating hundreds of heads.