Quick answer
Which lasts longer, HP or Dell?
Short answer
Both are good brands and both last about the same when you compare like with like: a business EliteBook or Latitude easily does five to seven years, a cheap Pavilion or Inspiron three to five. What kills laptops in Nigeria is heat and power, not the badge: blocked fans, charging on unstable light without a surge protector, and swollen batteries. Keep the vents clear, use a good extension with surge protection, and either brand will serve you.
Keep learning