DEV Community

loading...
Arjun Rajkumar profile picture

Arjun Rajkumar

Ruby, JS

Location Earth, Mars, Remote 🌍 Joined Joined on  github website twitter website

All 34 comments

Building a Shopify App with Rails, React and GraphQL

yes.. but will require a lot of changes, if was initially don...

Difference between Unit Testing and Integration Testing?

Nice one, Pankaj! I wrote about a similar topic today :) de...

Code quality is overrated

Agree with this, and going thru a similar process for my pr...

Write better code: Day 8 - Shortest route

Nice. Yes it is.

How to make the most of dev.to

Awesome & congrats to the Dev team! There def is somet...

Write better code: Day 8 - Shortest route

Logic: Check to see if any of the senders direct neighbou...

Write better code: Day 8 - Graph Coloring

Logic: Each node in the graph has maximum D neighbours. G...

Write better code: Day 7 - Second largest item in Binary search tree

Logic The right most item will be the largest. The secon...

Write better code: Day 7 - Binary Search Tree

Input: binary tree Output - Boolean - check if it is a bin...

Write better code: Day 6 - Merge Meetings times

Inputs - [[0, 1], [3, 5], [4, 8], [10, 12], [9, 10]] Outp...

Write better code: Day 5 - Chronal Calibration

def chronal_calib_part1 sum = 0 File.open('advent_of_c...

AoC Day 1: Chronal Calibration

Thanks. The data folder makes sense.

AoC Day 1: Chronal Calibration

Hi Ryan.. Just starting on the #adventofcode series. Just ...

AoC Day 1: Chronal Calibration

Hi Davis.. Just starting on the #adventofcode series. Jus...

Write better code: Day 4 - Sorted scores

The problem asked to do this in lesser than O[nlogn] time. ...

Write better code: Day 4 - Duplicate Space Edition

Used a version of binary search to do this.. Logic: Giv...

Write better code: Day 3 - Rotation Point

This was very similar to binary search as it was mostly sor...

Write better code: Day 3 - In-Place Shuffle

This was the logic for inplace shuffle.. Go thru the ent...

Write better code: Day 1 - Highest Product

Ofcourse :) Only then would you have tried solving it twice...

Write better code: Day 2 - Single Riffle Shuffle

Logic was to get the shuffled deck and check if the last ca...

Write better code: Day 2 - Product of every integer

This became simpler once I realised that the result is just...

Write better code: Day 1 - Highest Product

Thanks Mihail. This looks much more neat. Will test it out ...

Write better code: Day 1 - Highest Product

Ended up doing this by checking if the product of current n...

Write better code: Day 1 - Highest Product

Just realised that my original attempt was wrong ! For tw...

Write better code: Day 1 - Highest Product

This was the logic: Get three highest inputs - multiply...

Write better code: Day 1 - Apple Stock Prices

This was my logic for doing this. Logic: Go thru each ...

Idiomatic Ruby: writing beautiful code

Awesome! I love programming with Ruby too. Recently disc...

loading...