Artificial intelligent assistant

what will be the strategy that detects the fake coin? I am facing problem on understanding this problem--- You have 12 coins and a balance scale, one of which is fake. All the real coins weigh the same, but the fake coin weighs less than the rest. All the coins visually appear the same, and the difference in weight is imperceptible to your senses. In at most 3 weighings, give a strategy that detects the fake coin. (Note: the scale in this problem is a scale with two dishes, which tips toward the side that is heavier. For clarification, do an image search for “balance scale”).

This is a really old riddle. The strategy is:

Step 1: divide the coins into 2 groups (each of 6 members) and weigh them against each other, you should know then which group of 6 coins contains the fake one.

Step 2: take the group of 6 coins containing the fake one, and divide it into two groups each with 3 coins, then weigh them against each other.

Step 3: you are left with 3 coins where one of them is fake. Weigh any two of them against each other.

Step 4: Conclude.

This is the easy version. The hard version is where the fake coin is unknown whether it weighs more or less than the rest (and for this version, our strategy here doesn't work).

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy f079ab49cf434fce9dc7698b83f4b0d2