Posts

Showing posts from February, 2022

Double Linked List Algorithm

Image
      For this week I decided to take a break from Python and work on an Algorithm in Java called Double Linked List. A DLL is a data structure used to sort data and retrieve data. It is very common in the work place and is a common data structure asked to get built in developer interviews. For this week I decided to work on 2 methods. The add first and the add last methods. In a double linked list there is always 2 nodes. The head and the tail. The head is where the data structure begins and the tail is where it ends. If there is no data in my list then they both point to null (empty). That is why in my empty constructor I initialized both the head and tail to point to null.     After we initialize the head and tail and make them both point to null I declared my first method which is add first. This is when you want to add a new piece of data to the beginning of your list. This is useful because if you know what data is in the beginning of your list you wont have to traverse through y

Learning Python

Image
      For the last couple of weeks I have been teaching myself Python outside of school. So far in my education through school I have taken CSC110 and CSC205 which are both Java classes. I started looking for internships and realized there is a high demand for developers who also know Python so I began to learn the basics of it. I attached a screenshot of my Visual Studio Code of a program I wrote from direct questions that are asked of you in coding interviews in jobs and internships. What they are trying to see is if you can manipulate data in an algorithm to return values from an array.      In the screenshot above the problem is that the user enters an array of different values inside of it. Then they give you a target sum as an integer and see if any two values in the array add up to the target sum that is given. If the target sum is found you have to return the value to the user in a new array. This is a useful technique in real life data structures since it gives you the basics

The Metaverse

        Metaverse     Last semester I discussed and researched many different subjects in the world of crypto. Recently however there is a new world that developers are building right now that goes hand and hand with crypto. It is the meta verse. We previously discussed about Decentraland where its a virtual world where you can buy and sell virtual real estate but it seems like this world is picking up a lot faster with more creative things you will be able to do in that world.         Right now you can access facebook from your phone and communicate with people. You can go on certain apps to watch live sporting events. You can watch movies in different platforms as well. You can even go on Spotify and listen to your favorite podcast. When we do these activities our brain can only digest so much information because we are consuming it with our eyes and ears from our phone. Imagine a world where you could put on a virtual reality headset on and you could be on the field with the footbal