Algorithmic Problems : D

“Pseudo Code of my life”

programmers_wallpaper_by_darkdragon15-d4fbtus

This week I realized an important lesson on how to become a professional programmer.

1. Learn how to solve algorithmic problems. 

Understanding and designing effective algorithms is a very important skill for a professional programmer. You can still do well without knowing much about algorithms, but knowing how it works puts you at a superior advantage. There are two types of people, those who can design effective algorithms and those who don’t. People who can design effective algorithms are able to create robust and efficient code.

2. Understand the fundamentals of how programs work.

It’s simple, by understanding the fundamentals you can create programs that are optimized.

3. Test yourself. Practice. 

You need to test yourself. GO open up visual studio or Netbeans what ever you use to program and program everything, because anything is possible when you give it a go.

Here! have a go

I was given this algorithmic problem to solve using programming. The question went like this.

1 2 3

4 5 6

7 8 9

* 0 #

Here is a Number Pad

The Question

How many 7 digit numbers can you make from this Number Pad?

The Conditions

The numbers cannot repeat Eg. 1232123

The number cannot start with Zero Eg. 0896541

The next number has to be next to the previous number Eg. 1256980

The code has to be optimized (under 50 lines)

Leave your answer down in the comments  🙂

Good luck and Go Program!

“Many a false step is made by standing still.”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s