Hack Your Minds

Hack Your Minds

Innovation, Inspiration, Instigation


Search
Featured

gmail Productivity tips

3 Gmail Productivity Tips For A Saner Mailbox

Posted on .

GMAIL PRODUCTIVITY TIPS: Pretty much every one of us would be using Gmail, and I’m going to share some Gmail productivity tips that would help you achieve a saner mailbox. Before we proceed, these are commonplace tips and a bunch of my friends are already using it — So you can just skim over this article for correctness and move on. This is for the people who don’t use Gmail’s features as efficiently as you do 🙂 Gmail productivity

Read on
Featured

Hackerrank Problem Solving Project Euler Ruby

Solving Project Euler Problem 42 - Coded Triangle Numbers

Posted on .

Following up from my previous post, where I attempted Solving Project Euler Problem 13 - Large Sum, I took up Problem 42 - Coded Triangle Numbers While the original problem is a bit more complex, Hackerrank had broken it down a bit more simpler. Note: This solution times out after the first 2 test cases out of a total 7 test cases. So, while the solution is technically correct, it's not the most optimal way to go about it. Problem

Read on
Featured

Hackerrank Problem Solving Project Euler Ruby

Solving Project Euler Problem 13 - Large Sum

Posted on .

For my next problem, I decided to take one of the popular routes and experimented with few of the simpler problems from Project Euler The first problem that I tried was Problem 13 - Large Sum Problem Statement Work out the first ten digits of the sum of N 50-digit numbers. Input Format First line contains N, next N lines contain a 50 digit number each. Output Format Print only first 10 digit of the final sum Constraints 1 ≤ N

Read on
Featured

Hackerrank Problem Solving Ruby Mathematics

Simple Program For Finding Symmetrical Point

Posted on .

Following up from the earlier post, I first started with a very simple mathematical problem of finding symmetrical point, given a set of coordinates. The problem statement is as follows: Given two points P and Q, output the symmetric point of point P about Q. Input Format The first line contains an integer T representing the number of testcases Each test case is a line containing four space separated integers Px Py Qx Qy representing the (x,y) coordinates of

Read on
Featured

Hackerrank Problem Solving

Getting Back to Code with Hackerrank Problems

Posted on .

Few days back, I started solving some of the simpler challenges in Hackerrank. I had to start with the simpler ones because I hadn't coded for almost a year and even when I was coding actively, I hadn't actually solved Hackerrank type problems since 2012. I first started with the learning/practice domain for Ruby as it is my preferred language for coding and one that I would be using at work if I ever get back into coding at

Read on