Showing posts from February, 2015
In earlier posts we used python interpreter and executed lines of code to see the output.Suppose we want to execute a block of code lines, then function comes for rescue.Functions and methods are used interchangeably in other programming language.Howe…
In the previous post we discussed about sequence types data structure. Here we will be discussing about non sequence types in built data structure of python. Set, frozenset and dict classes are non -sequence types in python. set class: 1. Sets a…
Problem statement:- Given a stack filled with elements, write a program to reverse the elements of stack without using any extra space. Algorithm:- 1. Do pop() operation and recursively call the same method until stack is empty and keep track of popp…
Python has various inbuilt data structure like List, Set , Tuple, Dict which can be broadly classified in two categories. Sequence Types: The list, tuple, and str classes are sequence types in Python, representing a collection of values where orde…
The interview process took one day and comprised of 4 technical round and 1 HR, just casual talk. All interview rounds were mainly revolving around Data structure (DS) and algorithm/Java related stuff/ puzzles / problem solving. First round (F2F): D…
The interview process took one day and comprised of 4 technical round and 1 HR, just casual talk. All interview rounds were mainly revolving around Data structure (DS) and algorithm/Java related stuff/ puzzles / problem solving. First round (F2F): …