Posts

Showing posts from June, 2013

Program to remove duplicate elements from the list in python

Removing duplicate element form the list in python is easy unlike c program.Python includes datatype for sets.A set is an unordered collection of elements without duplicate entries.We can just make set of the list and again make list of that set to get the output. Program I : inputlist = [22,33,33,44,55,55,55,66,66] outputlist = list(set(inputlist)) print outputlist Just three lines of code and you will get the list without any duplicate elements.There are several other technique also for writing program to find the distinct element in the list without using set. Program II : inputlist = [22,33,33,44,55,55,55,66,66] outputlist = [] for element in inputlist:          if element not in outputlist:             outputlist.append(element) print outputlist You can use  http://www.codeskulptor.org/  to run the python programs online.

Deloitte Interview Experience

I attended the Deloitte recruitment process in my campus placements. Deloitte came to our campus for two profiles first one was Business consultancy and another was OIM (Office of information management). I chose the OIM profile. The recruitment process consists of 4 rounds for OIM profile and 3 rounds for Business consultancy. First-round was written round, it was the usual online test conducted by AMCAT. It had 3 sections aptitude, logical reasoning, and  English. The test was very easy. Around 400-500 people appeared for the test. Next, they shortlisted around 120-150 people for the next round which was like a Business presentation. In this round, they formed groups of 10 people per group and gave topics, and told us to make presentations on chart paper and explain them. It was fun. They shortlist people from this round based on their communication skills and valid points. Around 50 were shortlisted for interview rounds. The first interview round was a technical interview for OI