Wrong Solution for Chapter 4: Advanced CRUD Operations Lab 1: Logic Operators

My solution is

<deleted, reason: potential answer>

The offical solution provides two solutions, the first of which is incorrect:

<deleted, reason: potential answer>

The first solution does not count documents where pop is equal to 5000 or 1000000 exactly. While incorrect, it works flukily because there are no such documents.

Hi @victorz,

Welcome to the MongoDB community forums,

Thankyou for surfacing this! We appreciate your efforts. :sparkles:
I will forward this to the concerned team and make sure we get it corrected.

However, deleting the above solution as it depicts the potential answer!

In case of any doubts please feel free to reach out.


1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.