Question regarding Hoare's partitioning scheme and a slight modification to it
Why not use while a[i] &lt;= pivot ?


You could.  It's arbitrary.  Either way will work fine.  We just have to choose one of those two choices.  They both have the same asymptotic running time.