The other day, I needed to set up a PostgreSQL database, and after considering various solutions, I decided to use Docker. In this tutorial, I’ll share the solution that worked for my problem.
Creating a PostgreSQL Database Using Docker Compose Docker Compose is a powerful tool that allows us to manage multiple containers from a single central point. You might think it’s a bit much for setting up a database, but I found it surprisingly easy to set up and use.
Let’s continue working with more LeetCode problems, this time focusing on an easy one.
We need to find if, in a given array, we can find two numbers such that they can be added up to a certain target value. We can be certain that there will be only one solution.
Solution Brute force As with other problems, one first approach would be to compare all possible combinations to find the two numbers that adds to the target.
Hello everyone, in this post I want to explore a solution to the Contains Duplicates LeetCode problem using Swift. Most solutions use Python and I think it would be a good idea to try to use Swift to explore how well it behaves for the LeetCode style questions.
The Problem This problem states that we have an array of integers and it may contain some values that are duplicated, so we need to write a function that check if the given array contains any element more than once.
Hey there, tech enthusiasts! 📱, this is my first time blogging 🥳.
I decided to create this blog to register all of my learning in the world of programming. I’m so exited to share what I’m learning in this cool journey.
I’m bad for making intros, so if something new comes to my mind I’ll update this post. 😅
While my main focus right now is iOS development, that doesn’t mean I’m not intrigued by the myriad of options technology has to offer.