Step 1: What is asked:
We have to pick the strongest base among dimethylamine, methylamine, trimethylamine and ammonia. This is the usual aqueous-phase comparison done in the amines chapter.
Step 2: Two opposing effects:
Alkyl groups push electrons towards nitrogen, which makes the lone pair more available. This favours trimethylamine.
But the protonated form $\mathrm{R_3NH^+}$ is stabilised in water only through hydrogen bonds from its N-H bonds. Trimethylammonium has just one such bond, while dimethylammonium has two and methylammonium has three. Steric crowding around N in the tertiary amine also hurts.
For methyl derivatives these effects balance so that the secondary amine wins.
Step 3: Use the measured data:
Base strength in water, written as $pK_b$ (smaller means stronger):
Dimethylamine 3.27, methylamine 3.38, trimethylamine 4.22, ammonia 4.75.
Arranging from the smallest $pK_b$ to the largest gives the strongest to weakest base.
Step 4: Result:
The order is $\mathrm{(CH_3)_2NH} > \mathrm{CH_3NH_2} > \mathrm{(CH_3)_3N} > \mathrm{NH_3}$. The compound with the highest basic strength is $\mathrm{(CH_3)_2NH}$, which is option (i).
Final Answer:
The most basic compound is dimethylamine.
\[ \boxed{\mathrm{(CH_3)_2NH}} \]