Yesterday, I and my two friends participated in a competitive programming challenge on Hackerearth. It was tiring for us as the place we decided to meet was occupied and we had to change places while the competition was running. Also, we had to rely on mobile internet which unfortunately is not so good. But we killed it !! We ranked in top 30 teams in India and we are invited for next round which is...
So, now lets see how to know the Big-oh complexity for a given competitive programming questions.So follow this approach - 1.In all the platforms, you will be given a time limit in seconds according to the language you choose.Some platforms may not give you time limit for your programming language directly ,so calculate it as- a. Codechef - codechef calculation -So,as said in the article multiply your language multiplier given here with the time limit given in...
DYNAMIC PROGRAMMING PROBLEM(DP) Dynamic programming problems can be difficult to solve as a beginner.Today's blog will tour us through the important resources available online to start solving dynamic programming problems and then I will share some observations I found while solving some DP problems. 1. I started DP by understanding the basics through Algorithms by Das Gupta.It has explained DP in a very good and interactive manner and would be the best place to start.Though...
Installing Cloudera Hadoop 1.For installing Hadoop,we can use virtual box or VMware workstation or any other virtual machine.I prefer VirtualBox from Oracle which can be downloaded from- https://www.virtualbox.org/wiki/Downloads 2.Once we have installed VirtualBox we can now download the Cloudera Hadoop VM environment which is the best option to start for hadoop. It can be downloaded from -https://downloads.cloudera.com/demo_vm/virtualbox/cloudera-quickstart-vm-5.4.2-0-virtualbox.zip . (Since file size is 4.004 GB,we need to have a good internet connection or download it using some IDM). 3.Once we...