Category: interview questions
Task: Write a function that takes a list of strings and prints them, one per line, right justified, in a rectangular frame. For example the list gets printed as: …
Want to challenge yourself before you go to apply the Data Scientist/Machine Learning/Big Data jobs? You are given the data of total (aggregated) power consumption of two days in …
Let U = represent a increasing series of points; xu0 < xu1 && yu0 < yu1, etc. Let D = represent a decreasing series of points; xd0 < xd1 …
Consider the time series of measurements m = and time points t1 = respectively and another sequence of time points t2 = . Write a function to, where possible, …
This is quite similar to the Two Sum puzzle. Given a collection of numbers, write a function that finds a pair that will sum to a given value. For …