You probably need to look at topological spaces that are not metrizable. If were a metric space, then condition (a) would actually be equivalent to compactness.
hi
I need to find examples for these two topological spaces:
a. A space such that every sequence has a convergent subsequence, but X is not compact.
b. Space . every infinite set has an accumulation point and is not compact.
thanks