From March, 2018

Walk at red rock

Today was a calm day at my parent’s house which started with a great Easter brunch. There were¬†herring, egg and cheese sandwiches and other things you’d expect in an easter meal. After brunch, we decided to take a walk at red rock. This is a place in Gothenburg that is famous for its red rock, which might not feel like much of a surprise. During the walk, I found some quite interesting things to take photos of, and I only took one picture of the red rock. During the trip, we also went by car through different areas in Gothenburg.…

Hurray! Steam released Curse of Monkey Island

Something awesome has just happened, The Curse of Monkey Island has just been released on Steam! When I first saw that it had been released I felt how my heart started racing. Why? Because in my opinion, this is THE BEST (point and click) adventure game out there! The game is a pirate adventure in which you play as Guybrush Threepwood. In the game, you will have to travel through many different islands, find and talk to different pirates and ultimately fight the arch nemesis LeChuck. All while experiencing some of the best artwork and groovy music in a perfect…

Easter with the family

I think that we all have the need to slow down the pace sometimes. Most holidays I take a break from school and go visit my parents in Gothenburg. When getting here I stop thinking about school for a while and just play games with my brother, talk about anything with the family, and since I mostly come here at holidays I meet with other relatives. This Easter the family will host a dinner with my grandparents and second cousins. It’s been a while since we last met so I look forward to meeting them and see how it’s going…

Designing a data structure (in this case the list)

Before you start designing your data structure it is a good idea to first stop and think about what you want to use it for. If you require a simple structure to store your data before applying a function to each element of data (also called mapping) you probably want to use a list. If you want to store a huge amount of information but still want to be able to find individual elements fast, you probably want to use a tree. If you want to store a list of paths that a router can redirect a network package to…

Sometimes all you need is a walk in the sun

You know the feeling you get when you have so much to do that you can’t even get yourself to start doing it? This is how I’ve been feeling lately. I have several tasks that should be done already, today I should pack my bags to be done with it before my trip to Gothenburg to celebrate Easter with my family. And for school, I need to write some assignments and prepare for upcoming courses… well at least I do something useful by writing some content for the website. When it comes to efficiency, I have always been affected by…

So, what are algorithms?

Algorithms are simply ways to describe how something is done. In the mathematical domain, this translates to theoretical mathematical functions and in programming, this translates to functions (most often) run by a computer. There are certainly other ways that algorithms could be explained but, in this course, we will focus on the ones used by programmers. In this setting algorithms try to process data in some way, it may be to calculate a value from another, it may be to order/sort data in a certain way or it may be to find a specific piece of data from a large…

So, what is a data structure?

A data structure is a bunch of elements, placed in a specific order, which can be used to store information. Depending on which data structure used it can take more or less processing power or consume more or fewer data to build, and more or less processing power or data to operate in. Some classical data structures are: The list of subcategories such as the queue and the stack. The tree with different implementations such as the binary-tree and avl–tree. The hash-table with different implementations such as one based on linked lists and one based on probing. There are a…

Intro (data structures and algorithms)

There are already a lot of different people out there that give great tutorials on how to practically create different data structures and algorithms in many different programming languages. As a few examples I could mention tutorialspoint, cprogramming and geeksforgeeks. Therefore my purpose with this tutorial is not to give yet another course in how to implement data structures and algorithms themselves. Instead, in this small course, I will try to teach you how you can think when designing data structures and algorithms. How to sketch the problem and how to think recursively. I hope that you by learning this…

Beginning of something new

It’s only been about eighteen days since I first got the mail with the question if I wanted to take a year abroad. I remember how I thought about it back and forth for several days and almost felt like I had a minor life crisis before I decided what to do. But as I decided to go it immediately felt just right. As I settled on my choice I got an urge to start packing, to start planning where to rent housing next and plan the trip. I think that even if it feels intimidating to try something new…

My first post

Hello! So now I’ve just created my first blog post on this WordPress site and I must say that it feels really good to finally get started. As you may or may not know I’ve previously had a site for several years, but I felt that I had too much going on in my life to bother about creating every aspect of a website. I ended up putting a lot of time into designing different websites, and although it was a fun process and I learned a lot, it eventually sucked up to much time. Since I put all my…