Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Search - "treasure hunt"
Algorithms real life implementation
On the way to your college canteen? -> A* search
Waiting in line in the canteen? -> Queue
Notice that girl standing in front? -> Linear search
Searching for her dad in the phone book? -> Binary search
Stupid! Google it! -> Trie
Search for her on Facebook! -> Depth-first search
Found her! Friend request? Accepted! Send a Hi! -> Graph
Writing her a secret love letter? -> Caesar cipher
Uploading your first date pic on fb? -> Image compression algorithms
Looking through her Whatsapp messages? -> KMP algorithm
She found out and had your first fight? -> Start over with some gifts! Backtracking
Got her list of items to buy? -> Array
Too many items! Low on cash, maybe? -> Priority queue
Making her play treasure hunt for her gifts? -> Linked list
Wait! Go back! Is that a ring? -> Stack
Girl’s family not agreeing to your proposal? -> Divide and conquer
Got married? Congrats! Going for your honeymoon? -> Travelling salesman problem
Your mom packing luggage for you? -> 0/1 Knapsack problem
She packed your favorite pickles? -> Hash table
Driving to the airport? -> Breadth-first search1
Looking through a former developer's drive for their projects folder is kind of like a treasure hunt, only you don't get something good at the end of it usually.
Especially when there's a good reason they're a "former" developer.
Behold, latest deployed code changes are uncommitted.
Alcohol, please save me.2
Struggling to debug a test which prints out like 400-500 lines of logs in console and I can't find any of those to be useful.
Me while debugging with DevRant ..
Is this the end of my life!!!!
Even without a wife..
I should start collecting some bucks,
And buy some ducks,
To accompany me through the mist of the unknown console logs,
Playing treasure hunt,
And find out the hidden treasure behind this mist2
Got an enigma to resolve in my school during a treasure hunt (not sure if it's the good expression) which was translating binary in lattitude and longitude. That was not really difficult but fun