Python Environment Setup

Environment Setup Python is available on a wide variety of platforms including Linux and Mac OS X. Let’s understand how to set up our Python environment. Local Environment Open a terminal window and type “python” to find out if it is already installed and which version is installed. Downloading Python You can download Python from … Read more


Introduction Python is a very simple language, and has a very straightforward syntax. The simplest directive in Python is the “print” directive – it simply prints out a line (and also includes a newline, unlike in C). It was created by Guido van Rossum, and released in 1991 There are two major Python versions, Python … Read more

Binary Search Algorithm

Binary Search Algorithm Binary Search is an efficient algorithm for finding an element in a sorted array by continuously chopping the search area in half. Why Binary Search? In Technical Interview you might be given a question like In Given Sorted Array, write a function that returns the index for a given element. Now, an … Read more