When Pride Fucks With You

Wednesday, December 14, 2011

Android - Send broadcast intents via adb shell

›
am broadcast -a <INTENT_NAME> -n <your.package>/.<path.up.until.your.BroadcastReceiver> --es "referrer" "u...
Wednesday, November 23, 2011

Java knowhow-2

›
By now it's quite obvious that the double-check-lock method of synchronizing for a singleton is broken. It has been comprehensively pro...
Thursday, November 17, 2011

Java knowhow - 1

›
Often I run into situations where I want to have multiple constructors which do pretty much the same things except that they call their own...
Sunday, November 13, 2011

Rabin-Karp Algorithm

›
A cool algorithm that can be a very good interview question. This algorithm deals with searching a set of strings in a large text. The typi...
Saturday, November 12, 2011

Java HashMap implementation, load factor, synchronization etc.,

›
HashMap is one of the data structures used very commonly in Java & I've always had my curiosity on what exactly goes behind the imp...
Thursday, October 27, 2011

Maximum in a sliding window

›
Given an array of n integers & a window of size w, keep sliding the window from the left-most to the right-most while emitting the maxi...
Wednesday, October 26, 2011

Propogate zeros to rows & columns of a matrix

›
Given a matrix of integers, if there are zeros in a particular position, make the whole of the corresponding row & column as zeros. Be ...
›
Home
View web version

About Me

to_ash04
View my complete profile
Powered by Blogger.