Did not face any issue with speed, especially in the latest IDEA version. I run it on ssd with i7. There some minor issues like :w is useless in ide as it saves it anyway and recording does not work for me. But the benefits of ide + functional vim greatly outweighs just using vim.
Isn't is better to use async/await over for comprehension, since its more clear and easy to understand.
Edit: My bad just did my scala assignment, overlooked the details and thought it was a Future :)
Wouldn't the worst case space complexity be the same then? for eg: ( { [ ] } ) as you will be keeping index for each the symbols. Technically it can be implemented, but isn't stack a better approach?
This is really a great book to read if your prepping up for an interview or in general just want to study algorithms. This book is much more readable as compared to CLRS which is very dense and pedagogical. This book is more like novel as in the author also describes his personal experiences in short snippets called war stories which are pretty fun to read. The second half of the text book describes problems and solutions. If your looking interview prep then the 2nd part of text book would be really helpful.