Tag Archives: Recursion

Python for loop

Introduction Any computer algorithm requires two control flow structures: iteration and selection. Our topic today is mainly about iteration using the Python for loop. The goal of this post is to achieve three objectives: Provide a beginner introduction to the …

Read more »

Sorting Algorithms Explained by Examples

Introduction Today, I am going to dive into the awesome world of sorting. It reminds me with entry level computer science courses and algorithm design. The goal of this article is to summarize popular sorting algorithms and put it in …

Read more »

Sikuli iOS Automation

In this short article, I will explain how to create a test automation framework for iOS using Sikuli, iOS simulator and Python unit test. I assume prior knowledge about these technologies and only focus on the actual technical details so …

Read more »

Printing Words

Problem Given an input text file as in the example below I 1:1 Work 1:2 At 1:3 NetApp 1:4, 2:1 Is 2:2 Good 2:3, 3:1 To 3:2 See 3:3 You 3:4 Write a script that prints the output below I …

Read more »

Dynamic Programming Integer Knapsack

Integer Knapsack Problem Welcome! This is part 10 in a series of articles on Dynamic Programming. You can refer to the first part (introduction) by clicking here. Today we are going to discuss the “Integer Knapsack Problem”. Please recall that …

Read more »

Dynamic Programming Moving on a Checkerboard

Moving on a Checkerboard Welcome to a new article on Dynamic Programming. Today we will discuss “Moving on a Checkerboard” problem. This is part 9 of a series of articles on the topic. You can refer to the first article …

Read more »

Dynamic Programming Edit Distance

Edit Distance or Levenshtein Distance Welcome! This is part eight in a series of articles on Dynamic Programming. You can start at the beginning of this series if you wish by clicking here. Today we are going to talk about …

Read more »

Page 1 of 512345