haphazard vs in one way or another

haphazard

adj
  • Random; chaotic; incomplete; not thorough, constant, or consistent. 

noun
  • Simple chance, a random accident, luck. 

in one way or another

How often have the words haphazard and in one way or another occurred in a corpus of books? (source: Google Ngram Viewer )