Optimizing Code with the Two Pointer Technique
Learn how to optimize code using the two pointer technique, including reducing time complexity from O(n^2) to O(n). This is a common technique used in coding interviews.
Explore our latest thoughts, tutorials, and insights on technology and development
Learn how to optimize code using the two pointer technique, including reducing time complexity from O(n^2) to O(n). This is a common technique used in coding interviews.
Just because a function is asynchronous does not mean that it won't block the main thread (event loop) in a Node application. Learn how to free up the event loop to handle other tasks.
Learn how Postgres performs both index and sequential scans. We will also go over the benefits of each and how to use EXPLAIN ANALYZE to see the difference.
Understanding mutables can help your overall knowledge of JavaScript. Get a simple understanding of JavaScript mutables using the splice and slice methods.
Certain database operations should only be committed if the previous statements succeeded. If this is not done, the database can become corrupted.
Learn two handy TypeScript utility types that make working with types easier.
Under the hood, Postgres does some data compression for anything exceeding a certain size threshold. Learn about the Postgres Page and TOAST.
Learn how to make Postgres code more readable and understandable with custom delimiters.
When backing up a Linux system, ensure that you are excluding virtual filesystems like /proc, /sys, and /dev. Including them in a backup can cause issues during restoration.
Learn how synchronous code can cause performance issues in a Node application and why using asynchronous code is better.