

PCA In Depth
What is PCA? PCA is fundamentally a dimensionality reduction algorithm, but it can also be useful as a tool for visualization, for noise...


Leetcode 185. Department Top 3 Salaries
Description The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id. The...


Leetcode 184. Department Highest Salary
Description The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id. The...


Leetcode 180. Consecutive Numbers
Description Write a SQL query to find all numbers that appear at least three times consecutively. [Read Full Description Here] Solution...


Leetcode 178. Rank Scores
Description Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a...


Leetcode 177Nth Highest Salary - Medium
Description Write a SQL query to get the nth highest salary from the Employee table. For example, given the above Employee table, the nth...


Leetcode SQL - 262. Trips and Users
Database Description: The Trips table holds all taxi trips. Each trip has a unique Id, while Client_Id and Driver_Id are both foreign...


Survival Analysis I
Survival Analysis is time to event analysis. Time to event is the time it takes until a pre-defined event occurs. The times till events...


Survival Analysis II - Comparison of Survival Function
This is about comparing the survival experience between categorical explanatory variable. For example, we may wish to see if gender has...


Conjoint Analysis Technical Notes II
Conjoint analysis is a technique for measuring, analyzing, and predicting customers’ responses to new products and to new features of...