Python bubble sort

Bubble sort algorithm is comparison based algorithm in which each pair of adjacent elements is compared and elements are swapped if they are not in order. The average and worst case complexity of bubble sort is O(n2) where n is the number of items.

Selenium webdriver explicit and implicit wait

Selenium webdriver explicit wait and implicit wait.

Python timestamp format

How to display timestamp in desired format in python.

Java abstract class and interface

Java abstract class and interface and their difference.

Extract the i-th digit of integers

Extract the i-th digit of any integers, where i starts from right to left.

HTML div and span

Introduction to html div and span elements and their differences.

Python encoding and unicode

Python source code encoding and unicode in 2.x.

CSS placement

Three kinds of css placement in HTML.

Python main

What the if __name__ == '__main__'does in python and practice of defining

Python function arguments

Python function standard arguments, positional arguments, and keyword arguments.