Posts by Karthik Desingu
Author Biographical Info: Not available
.This post deals with the Fibonacci search algorithm. It is quite similar to the binary search algorithm. It operates on sorted arrays. However, it partitions the array into unequa.... Read More
This post deals with an algorithm to inter-convert between postfix and infix expressions in Python. Prerequisites: Basics of python classes and objects, arrays and strings (refer t.... Read More
This post deals with a short introduction to neural networks. Then, implementation of training a simple perceptron neural network for the logical “or” operation in Pyth.... Read More
Anyone who has started object-oriented programming in Python would have come across functions that look like “__<func_name>__(self)”. These are called underscore .... Read More
The following post deals with pattern search in a string i.e looking for the occurrences of a substring in a given string and displaying the starting index. It uses the naive metho.... Read More
Searching for a string pattern in the main string using the naive algorithm may be time-consuming and inefficient. The following post deals with a slightly more efficient method .... Read More
This post provides a way of generating or raising and error based on the user’s conditions in contrast to the common errors raised by the compiler/interpreter. We call such e.... Read More
This post deals with the methods to inter-convert decimal to any base system number into any base depending on the user input in Python. Prerequisites: Basics of python looping con.... Read More