For the first one. The mapping $f: A \to \mathbb{N}$, $f(a) = a^4$ is a bijection from $A$ to $N$ and hence cardinality of $A$ is $\aleph_0$
For the next one. (As suggested by my friend) Observe that $\mathbb{N} \subseteq B$ and $B \subseteq \mathbb{A}$ where $\mathbb{A}$ denotes the set of algebraic numbers. Now, if you assume for the moment that $\mathbb{A}$ is countable, then it follows that $|B| = \aleph_0$.
Claim : $\mathbb{A}$ is countable
Proof : As $\mathbb{A}$ contains $\mathbb{Q}$, $\mathbb{A}$ is at least countable.
Let $S_n$ denote the set of algebraic numbers with minimal polynomial of degree $n$.
Note that $$\mathbb{A} = \bigcup_{n \geq 1} S_n$$
Hence, we'll be done if we show that $S_n$ is at most countable.
To do this, note that the minimal polynomial of degree $n$ can be encoded as a $n$ tuple of rational numbers. That is, $|S_n| \leq |\mathbb{Q}^n| = \aleph_0$. This completes the proof.