VSVibhor Singhinhackerrank-1-month-interview-prep-kit.hashnode.dev·Sep 6, 2022 · 2 min readDiagonal DifferenceGiven a square matrix, calculate the absolute difference between the sums of its diagonals. It is the most easiest problem from 1 month Interview Prep kit on HackerRank. You would be provided a 2 dimensional array of equal rows and columns or a squar...00
VSVibhor Singhinhackerrank-1-month-interview-prep-kit.hashnode.dev·Sep 5, 2022 · 2 min readFlipping BitsThis problem asks the solver to print the flipped bits of 32bit unsigned integer. In detail, you would be provided an integer - 9 (base 10) You have to write a function such that it returns the 32 bit unsigned decimal integer result - 4294967286 (...00
VSVibhor Singhinhackerrank-1-month-interview-prep-kit.hashnode.dev·Sep 5, 2022 · 2 min readPlus Minus ProblemPlus Minus problem is a part of 1 month of interview prep on HackerRank. I joined it today. It was the first of the lot hence it was seemingly easy but requires an important concept - floating point precision. I used Javascript to solve it but you c...00