We study memory-based random walk models to understand diffusive motion in crowded heterogeneous environments. The models considered are non-Markovian as the current move of the random walk is determined by randomly selecting a move from history. At each step, particle can take right, left or stay moves which is correlated with the randomly selected past step. There is a perfect stay-stay correlation which ensures that the particle does not move if the randomly selected past step is a stay move. The probability of traversing the same direction as the chosen history or reversing it depends on the current time and the time or position of the history selected. The time- or position-dependent biasing in moves implicitly corresponds to the heter...