MxxN = M^M^M^....M for N times - Interview Question (DP Analytics) [Solved in Python]

DP Analytics, a well-known analytics company came up with an interestingly logical written interview test.
Question:
2xx2 = 4
2xx3 = 16
2xx4 = 65536 = 2^16
3xx2 = 27
3xx3 = 7625597484987 = 3^27
4x3 = 64
2xxx3 = 65536
2xxx3 = 2xxx4
In general,
MxxN.
Tuesday, October 13, 2015
Posted by Netbloggy
Learning SAS: How to draw simple BAR charts in SAS?
Any data analysis is not complete without visualization and now it's time for us to learn how to draw simple BAR charts in SAS. We've used PROC SGPLOT to illustrate this. SGPLOT works fine in SAS University Edition too.
Problem 1:
Using the SAS.
Friday, October 2, 2015
Posted by Netbloggy
Learning SAS: How to create a SAS report in .html file using ODS?
In our previous blogposts, we discussed about different ways of tweaking the way we display our output. Now it's time for something more advanced. We're in the age of Web and sometimes our company might require our output in HTML format either to upload.
Learning SAS: How to sort variables while displaying the frequency output?
Sometimes it's not desirable just to display the output of the PROC FREQ as it is. As an analyst, sometimes our organization would require us to tweak it a bit.
Problem:
Using the SAS data set Blood, produce a table of frequencies for BloodType,.
Learning SAS: How to handle missing values while counting frequencies
Missing values are very obvious in any raw dataset and it's very important for an analyst to know to how to handle them. Especially while counting frequencies, Missing values can give misleading figures.
Problem:
Using the data set Blood, produce frequencies.
Learning SAS: Counting Frequencies - PROC FREQ
As PROC MEANS is very helpful in performing various operations on Numeric variables, PROC FREQ can be used to count frequencies of both character and numeric variables,
in one-way, two-way (Crosstabs/Contingency Tables), and three-way tables.
Problem.
Learning SAS: How to create Summary Dataset using PROC MEANS
As we mentioned in the previous post, PROC MEANS is our handy option to create a new summary dataset that can be used in other data steps or Procedures. Here we'll show how to create a summary dataset using PROC MEANS.
Problem:
Using the SAS data set.