Showing posts from 2016

Python os module- File operations in Python using python os module

Python provides os module which can be used to perform File operations like - create, read, write and delete. Below program performs following operation - 1. Check for a directory and create if it does not exist 2. Create a file . 3. Write into fi…

Median of stream of numbers in Java

Problem statement: Find median of stream of numbers numbers. Reference GeeksForGeeks Median is defined as middle element of sorted elements (even count of numbers) / mean of two middle elements(odd count of numbers) Consider array of numbers as st…

Apache Hadoop Interview Questions - Set 1

1. What is Hadoop and how it is related to Big data ? Answer :-  In 2012, Gartner updated its definition as follows: "Big data is high volume, high velocity, and/or high variety information assets that require new forms of processing to enable …

Load More
That is All