This is a simple string problem. Here you are given some string $s$ of non-zero length and asked if we
can delete characters from $s$ such that the remaining characters form
the word hello
. It's quick to do this problem with a
regular expression in both Python and JavaScript, or you can take the
dead-simple approach of just moving an index forward over the target
word hello
, reporting success or failure appropriately once
we run out of input on $s$.