Having worked for a while assembling department store bikes, I have 2 comments.
The first is, there is a lot of variation on quality, the price level is not always an accurate guide.
Second, the build quality varies even more.
If you want to buy one, take someone who knows bikes with you, ( ignore build problems when shopping )
then, before riding, go over everything.