For a field K, a square-free monomial ideal I of K[, . . ., ] is called an f-ideal, if both its facet complex and Stanley-Reisner complex have the same f-vector. Furthermore, for an f-ideal I, if all monomials in the minimal generating set G(I) have the same degree d, then I is called an f-ideal. In this paper, we prove the existence of f-ideal for and , and we also give some algorithms to construct f-ideals.