  In this paper, a Sturm--Liouville problem with some nonlocal boundary
conditions of the Bitsadze-Samarskii type is studied. We show that the
coefficients of the problem can be uniquely determined by a dense set of nodal
points. Moreover, we give an algorithm for the reconstruction of the potential
function and some other coefficients in the boundary conditions.
