☑️ Finding Last Visited Integers. ☑️
Code
# Code
```dart []
class Solution {
  List<int> lastVisitedIntegers(List<int> nums) {
    List<int> seen = [];
    List<int> ans = [];
    int count = 0;
    for(int elem in nums){
        if(elem == -1){
            count++;
            if(count > seen.length){
                ans.add(-1);
            }else{
                ans.add(seen[count-1]);
            }
        }else{
            count = 0;
            seen.insert(0, elem);
        }
    }

    return ans;
  }
}
```
['Array', 'Simulation', 'Dart']