Similar Items: Efficient Algorithms for Finite $mathbb{Z}$-Algebras