Weiwei's Tech Blog

Weiwei's Tech Blog

Previous | Page: 1 of 2 | Next

Algorithms - Brute Force Searching

June 12, 2020 | (Last Update : June 12, 2020)
Search Brute Force Backtracking DFS Branch and Bound BFS Data Structure and Algorithm

Brute Force Searching strategy is a useful problem-solving approach that systematically enumerates all possible candidates for the solution and then selecting the proper candidates as the result set.

Read more...

Data Structure - Trie in Python

May 15, 2020 | (Last Update : May 15, 2020)
Search Trie String Data Structure and Algorithm Python

Today, let’s check a data structure named Trie. It’s also called search trie or prefix trie, which is mainly used to handle string related problems.

Read more...

Data Structure - Quick Review of Priority Queue

May 09, 2020 | (Last Update : May 10, 2020)
Heap Data Structure and Algorithm

Priority Queue A priority queue is an abstract data type, which has the behaviour somewhat like a queue. However, the first-out element is not the first-in element on time serial but the element with the highest priority in the queue. You can think it is a container holds priorities.

Read more...

Data Structure - Single Linked List in Python

May 08, 2020 | (Last Update : May 09, 2020)
Linked List Data Structure and Algorithm Python

In this post, let’s go through linked list in a brif way. I’ll introduce basic operations of linked list in Python.🤓

Read more...

Build a snake game in Python Day-6

May 07, 2020 | (Last Update : May 08, 2020)
Python pygame

😃Today I will introduce the vital part of the game which is the key class here.

Read more...

Build a snake game in Python Day-5

May 06, 2020 | (Last Update : May 06, 2020)
Python pygame

Now we almost have developled the entire game, just a little coding. Today, I will introduce the class implementation based on previous analysis😃!

Read more...

Build a snake game in Python Day-4

May 03, 2020 | (Last Update : May 04, 2020)
Python OOP

😁A snake game could contains lots of features, if we want to improve the previous work, we must have clues about how to make progress🤔. Next we will use OOP ideas to make a fancy snake game.

Read more...

Build a snake game in Python Day-3

May 02, 2020 | (Last Update : May 03, 2020)
Python pygame

Today, I’m going to introduce pygame in a brief way. The main idea of this post is not to explain the detials of the pygame but some basic ideas of gaming programming. Let’s get started😃!

Read more...

Build a snake game in Python Day-2

April 30, 2020 | (Last Update : May 01, 2020)
Python curses

After knowing the building blocks of curses, let’s jump onto our first version of the snake game🧐.

Read more...

Build a snake game in Python Day-1

April 29, 2020 | (Last Update : April 30, 2020)
Python pygame curses

Introduction How are you guys😀! In the next following days, I’m going to introduce an interesting and small project implemented in Python, using some third-party libraries to create a snake game. I know it’s not a big deal to complete such a project, but it really gives me a kind of enjoyment in these self-isolation days🤓.

Read more...
Previous | Page: 1 of 2 | Next