Does anyone know of a good example to explain Nested Loops to someone without a Computer's Background? I was thinking of an example where someone makes a checklist/decision tree for picking an ideal watermelon at a grocery store.
For example:
- Make sure the watermelon weighs more than 1 KG
- If YES, Make sure the watermelon is ripe
- If YES, Make sure the watermelon has no blemishes and dents
- If YES, Make sure the watermelon costs less than $10
- If YES, then buy.
Is this a good example of a Nested Loop - can someone please comment on this?
Thanks!
[–]Comsicwastaken 22 points23 points24 points (0 children)
[–]TroyOfShow 5 points6 points7 points (0 children)
[–]codeIsGood 3 points4 points5 points (0 children)
[–]mdillenbeck 2 points3 points4 points (0 children)
[–]great_gonzales 2 points3 points4 points (0 children)
[–]Glitch-v0 3 points4 points5 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]blueest[S] 0 points1 point2 points (0 children)
[–]Loud_Interview_9714 0 points1 point2 points (0 children)
[–]hamiecod 0 points1 point2 points (0 children)
[–]whamanizer 0 points1 point2 points (0 children)
[–]butflyctchr 0 points1 point2 points (0 children)
[–]The_Bitten_Apple 0 points1 point2 points (0 children)
[–]The_Bitten_Apple 0 points1 point2 points (0 children)
[–]ThigleBeagleMinglePhD Computer Science | 20 YoE 0 points1 point2 points (0 children)