An inverse spectral problem for discrete operators of a triangular structure in topological spaces is studied. A constructive procedure for the solution of the inverse problem is provided. Necessary and sufficient conditions for its solvability are obtained.