Month: July 2024

Interview Question – (Microbe colony population)

/* 
 * Medical research lab. 
 * Phd - student. 
 * microbe - analyze its life cycle. 
 * If you start a microbe colony with a single microbe - it is growing extremely fast compared to other microbes. He want to understand and estimate growth provided there is enough resoruces for continous growth. 
 * Microbe - corm - reproduces via corms. 
 * First day it generates "3" corms. ==> For next three days it generates "3" each day. ==> Each corm will become another microbe in a day - on the same day it is born. 
 * After "3" days --> the corm will generate "2" new corms for next two days. 
 * after five days (3 + 2) cycle repeats. 
 * It dies after 51 days. 
 * Each corm starts following same cycle on the day they are born. They don't reproduce on the same day, but they will add "3" more micros from next day on-wards.
 
 ** After 365 days, how many corms will be there in the colony.  
** TODO: Make this post a little better. 
** TODO: Write  solution(s)
*/ 

Continue reading

Old man on deathbed

Met an old man
on deathbed.

He smiled with grace,
and said with conviction.

"Time is the only currency -
Love is the only worthy pursuit."

I never forgot,
I never understood,
until this day.

Now,
the golden
silver clouds
are all gone.

Sun,
is shining bright.

Alas! too late for me!!
Maybe not of you.

Continue reading

కాల బాణం

వలస పక్షి ఆగకుండా ఎగిరి - సముద్రాలు దాటి
అలసి సొలసి ఆశగా చేరి - తరు తీరానికి
గూడు కోసం ఆనాటి జాగా - ఎరుకలేని
మేటైన మిద్దెల శ్రేణుల వాసిగా - మూన్నెళ్లలో మారి
చూసి, అవాక్కై, నమ్మలేక - సంద్రమంత బాధతో
నాలుగు వలయాలు వేసి - కన్నీరు కరిపించి
ఊపిరి ఉగ్గవెట్టి - ఉసూరున ఎగిరి దిశలేక
మరో ఓటి జాగకై చూస్తూ - ఏరు దాటింది.

తరాల చిరునామా తెగిపొయింది. కాలం ఒక బాణం -
ముందుకేగాని, వెనక్కు సాగదదిగదా.

Continue reading