8 interviews isn’t a ton. You did prep and nailed algos - so what was the problem? 40 isn’t too old for sure at most places. It could be lack of relevant “showables” in which case you can go for a mid level position somewhere. Generally if you can pass algos you’ll get offers unless there’s personality red flags. Still - interview more.