Have you ever felt that you are not able to do something because of less time? Have you ever wondered that why few achieve so much in the same 24 hours while you struggle to be good at one thing? It’s not always because you are comparatively less efficient than other guys . Efficiency is nothing but a measure of productivity against time. And if you learn to manage time efficiently, the productivity would automatically bump up. The question you should ask yourself is,

The most successful people are the busiest and they can still find time. Why can’t you?

Life is all about setting priorities right and if you do not learn to focus on what is important and what is urgent, sooner or later, you will find it slipping out of your control.

I often get questions on how do I get time to do so many things. To summarize, I do fashion photography, play piano and write blogs apart from my full time Software Engineering job.

Since last few years, I had been living the life of a night owl. I used to sleep late in the night and wake up in the early noon. It’s hard to believe but I used to be proud of myself for a such a crazy schedule. I followed this insane routine for 7 years and then I thought for a change. Months of efforts didn’t work out well for me. Our body is not a robotic machine which can be changed to work in a different environment as easily as the tap of a button. t adapts slowly to the changes we wa It must be given proper rest to function it well.

Waking up early morning can do wonders

Sometime back, I got a chance to visit US on a business trip. People who visit there often complain about the jet lag for days. My bad schedule in India worked there like charm. I woke up at 5 in the morning and slept at 11 at night. Every morning, I felt charged up. I was way more productive.

Continue reading Manage time like a boss and become more productive

Read more

July 13, 2012

Dear Mary,

I won’t ask how are you, because I know you would be gleaming with happiness living in your beautiful world. And I wish you to be always the same. I won’t ask you about your whereabouts either, because it will tempt me to follow you no matter how far you are.

Do you remember the first day we met and I had almost evinced that I like you until you told me something that stopped me right there? Since that moment, I never stopped loving you. Day after day after day, it just kept on growing stronger. My love for you is like sleep. It started slowly and I fell all at once. People say there is no magic in this world. They just don’t look for it in the right place.

Days bled into years. There are things in life which are hard to change. Yes, “The fault in our stars” is still my favorite and no matter how many times I watch it, my heart takes control over my brain and I think of nothing but you. I dated many gorgeous girls, yet my heart longs for you. I traveled places to look for someone like you, yet when I see pictures of us, my breathes skip.

While I am composing this, that song is playing in the background and I feel so much connected with it:

So many people all around the world,
Tell me where do I find, someone like you girl,
Take me to your heart, take me to your soul,
Hold my hand before I’m old,

Just wanted to let you know, you are the only love of my life. Hope someday you will understand my feelings and that day would be the second happiest day of my life.
Yours,
Peter

Copyright © 2017, Aashish Barnwal,  All rights reserved.
Read more

In the life of every person, there is someone who (s)he looks up to. It is the human psychology. We tend to choose a hero whom we appreciate. Why? The reason is obvious. Sometimes, we love the way our hero lives. Sometimes, it is his popularity. Sometimes, it is just because his dreams were what  ours is now. He kept on improving each day, each week until one morning he became what he always wanted. And we start seeing the perfect version of ourselves in him. Each time we come across his story and picture, our inner self echoes, “Yes, this is who I would like to be one day”.

But the question is, does it help by just following them. Sure, it is motivating. It elevates your desire to do something. It boosts up your will to achieve what you wanted. However, until and unless you do not work freaking hard, improve yourself day by day, that chosen hero remains in pictures. Like we see Hulk in Marvel movies. Remember not all people are blessed with quick learning abilities. We have to keep trying hard to know what works for us best.
I personally had many heroes in my life so far. When I was learning programming, I chose a hero who knew infinity as compared to me. When I was doing photography, I chose a hero whose shots just made me feel wow. When I was playing piano, I chose yet another hero whose fingers seem to turn into bots.
What I observed while following my passion is that even though, I chose my heroes, I made great progress in one while very little in other. What were the things that went bad and I couldn’t do well? Was my execution plan wrong? Was it the lack of motivation? Did I not have enough passion? Well, it was about my devotion and the efforts I needed to put.
To fix this, I made an execution plan. I set an achievable goal. Like, at the end of this summer, I would shoot at least 10 great photos. Or by year end, I would learn to play a song X on piano in melody and arpeggios. And I keep on checking myself every two weeks or so about the progress I make and the areas where I lag. This trick is working great for me so far.

Don’t follow a person. Follow your dreams. Chase your passion. That is going to define who you are. Be your own hero.

Who knows, by doing so, you will become someone so unique that people will start looking up to you. That said, we can’t compare between Beethoven, Mozart and Bach. All of them have made significant contribution in the music realm.

Let me end this writing with a small inspiring video of Matthew McConaughey at the 86th Oscars® in 2014 | Best Actor for his performance in Dallas Buyers Club. Whenever I feel low, watching this speech of him helps me a lot.

In his words, this Oscar goes to my hero, that’s who I chase. Now when I was 15 years old, I have a very important person in my life come to me and say, “Who is your hero?”. And I said I don’t know I gotta think about that, give me a couple of weeks. I come back two weeks later, this person comes up and says “Who’s your hero?” And so I thought about it and I said you know who it is, it’s me in 10 years.

So I turn 25, 10 years later that same person comes to me and goes “so are you a hero?” And I was like, not even close. No, no, no. She said “Why?” I said because my hero is me at 35. So you see every day, every week, every month and every year of my life, my hero is always 10 years away. I’m never going to beat my hero. I’m not going to obtain that, I know I’m not. And that’s just fine with me because that keeps me with somebody to keep on chasing.

Copyright © 2017, Aashish Barnwal,  All rights reserved.

Read more

If you haven’t read Part 1, it’s here: Stranger. Friend. Lover. Acquaintance. – Part 1

That little encounter soon progressed to long hour chats. They talked about everything. He never met someone like her before. Her curiosity to know things, her sense of humour, her laugh, her smile. Unlike him, she was not very punctual. May be that’s how girls are. When she didn’t show up on time, he used to get frustrated. But her one cute smile would melt away all the anger. With each passing day, he felt like she is in his breathes. She was the sugar of his coffee. The words of his book. His life without her was meaningless.
Talking to her, hours would dissolve into minutes. There was hardly a day he spent without talking to her. She had become an addiction. He wasn’t sure if this was how being intoxicated felt like. If this was addiction, he would happily embrace it for the rest of his life.
When you talk with someone for quite long, chances are your topics will decay, unless you know how to talk cheesy. And he was an expert in that.

“When I chat with you, my 45 minutes tv episode extends to 3 hours.”
“Are you trying to suggest that I’m a bad influence on you? ;)”
“I am not complaining.”
“I know.”
“BTW, you can’t deny an influence ;)”
“That’s cool :)”

 

“Dined?”, Sid asked.
“Nope. Need to wind up few things for the morning lab”, her voice was exhaustive.
“My god! Why do you study so much?”.
“Not like you”
“That’s true. Half of the time we keep on talking”
“Ha ha ha :)”

Continue reading Stranger. Friend. Lover. Acquaintance. – Part 2

Read more

My contribution on Quora on cracking technical interviews:

 

  1. What should I do in the next 6 months to get into a company like Amazon/Google?
  2. How do I go about preparing for interviews on GeeksforGeeks?
  3. What are the top 20 websites for interview preparation?
  4. What are some useful websites for a CS student?
  5. How does one become good at problem solving?
  6. Career Cup or GeeksforGeeks?
  7. Should I do competitive programming or learn GeeksforGeeks, from a placement point of view?
  8. Which is the best book to start learning algorithms?
  9. Which books should I refer for data structures in C?
  10. I suck in competitive programming but I wish to make a mark there. I’m improving my skills by practicing on GeeksforGeeks. Is this the right approach?
  11. Should I learn algorithms and data structures in my vacation or learn any other thing? See details.
  12. How many academic projects should be mentioned in the resume while appearing for big companies like Amazon, MS, Adobe by a fresher?
  13. What are your reviews of Data structures and Algorithm made easy by Narasimha Karumanchi? Should it be used and when?
  14. Is it neccessary to put subjects of interest in our resume, we dont get good job at big tech companies if not added?
  15. Do we have to mention our Data structures skills in our resume in subjects of interest part ?
  16. Does the bloggers get paid when they write article on geeksforgeeks?
  17. How can one contribute to GeeksforGeeks and become one of the moderators?
  18. Studying Algorithms and data structures cover similar topics in c,c++ and Java languages?
  19. What is the difference between dynamic programming and recursion?
  20. What is easiest approach to tackle Dynamic programming problems?
  21. How should I explain dynamic programming to a 4-year-old?

Copyright © 2017, Aashish Barnwal,  All rights reserved.

Read more

My interview with GeeksforGeeks: Geek on the top – Aashish Barnwal

My contribution on GeeksforGeeks over the years:

  1. How to prepare for top MNCs?
  2. Implementing Iterator pattern of a single Linked List
  3. Curiously recurring template pattern (CRTP)
  4. Opaque pointer
  5. Factory design pattern
  6. K Dimensional Tree | Set 1 (Search and Insert)
  7. Design an efficient data structure for given operations
  8. Ternary Search Tree
  9. Print unique rows in a given boolean matrix
  10. Implement LRU Cache
  11. Sort numbers stored on different machines
  12. Find the k most frequent words from a file
  13. Given a sequence of words, print all anagrams together | Set 1
  14. Given a sequence of words, print all anagrams together | Set 2
  15. Generate integer from 1 to 7 with equal probability
  16. Graph and its representations
  17. Median of two sorted arrays of different sizes
  18. Iterative Quick Sort
  19. Magic Square
  20. Comparator function of qsort() in C
  21. Copy elision in C++
  22. Playing with Destructors in C++
  23. Casting operators in C++ | Set 1 (const_cast)
  24. DFA based division
  25. Counting Sort
  26. Space and time efficient Binomial Coefficient
  27. Efficient program to calculate e^x
  28. Greedy Algorithms | Set 2 (Kruskal’s Minimum Spanning Tree Algorithm)
  29. Greedy Algorithms | Set 3 (Huffman Coding) – GeeksforGeeks
  30. Greedy Algorithms | Set 4 (Efficient Huffman Coding for Sorted Input)
  31. Greedy Algorithms | Set 6 (Prim’s MST for Adjacency List Representation)
  32. Dynamic Programming | Set 27 (Maximum sum rectangle in a 2D matrix)
  33. Dynamic Programming | Set 28 (Minimum insertions to form a palindrome)
  34. Dynamic Programming | Set 30 (Dice Throw)
  35. Dynamic Programming | Set 31 (Optimal Strategy for a Game)
  36. Dynamic Programming | Set 34 (Assembly Line Scheduling)
  37. Find minimum elements after considering all possible transformations – GeeksforGeeks
  38. Check whether a given graph is Bipartite or not
  39. Maximum of all subarrays of size k (Added a O(n) method)
  40. Linked complete binary tree & its creation
  41. Print all permutations in sorted (lexicographic) order
  42. Lexicographic rank of a string
  43. Union-Find Algorithm | Set 1 (Detect Cycle in a an Undirected Graph)
  44. Measure one litre using two vessels and infinite water supply
  45. Random number generator in arbitrary probability distribution fashion
  46. Iterative Postorder Traversal | Set 1 (Using Two Stacks)
  47. Iterative Postorder Traversal | Set 2 (Using One Stack)
  48. Boundary Traversal of binary tree
  49. An in-place algorithm for String Transformation
  50. Morris traversal for Preorder
  51. Construct Full Binary Tree from given preorder and postorder traversals
  52. Two nodes of a BST are swapped, correct the BST
  53. Check if each internal node of a BST has exactly one child
  54. Largest subarray with equal number of 0s and 1s
  55. Check if a number is Palindrome
  56. Given a number, find the next smallest palindrome
  57. Construct BST from given preorder traversal | Set 1
  58. Construct BST from given preorder traversal | Set 2
  59. Flattening a Linked List
  60. Find the largest multiple of 3
  61. Count numbers that don’t contain 3
  62. Check divisibility by 7
  63. To find sum of two numbers without using any operator
  64. Find a pair with the given difference
  65. Add two numbers represented by linked lists | Set 2
  66. Longest Palindromic Substring | Set 1
  67. Longest Palindromic Substring | Set 2
  68. Count the number of possible triangles
  69. Find the number of islands
  70. Pascal’s Triangle
  71. Stack | Set 1 (Introduction)
  72. Heap Sort

Copyright © 2017, Aashish Barnwal,  All rights reserved.

Read more

19088041-A-man-sitting-in-a-cafe-and-thinking-about-love-Stock-Vector[1]

Lafz toh bahut hain bolne ko,
Par kuch baatein aankhon se hi byan ho jati hain,
Waise toh bahut hasinayein dekhi hai maine,
Ek tum hi ho jisse sochkar meri shab ki subah ho jati hai.

लफ्ज़ तो बहुत हैं बोलने को,
पर कुछ बातें आँखों से हि ब्यान हो जाती हैं,
वैसे तो बहुत हसिनाएं देखी है मैंने,
एक तुम हि हो जिसे सोचकर मेरी शब कि सुबह हो जाती है।

[English translation]

So many words are there to say,
But some conversations are better expressed through eyes,
Though I have met many beautiful girls in my life,
It’s you for whom my evenings get wash away in mornings.

Copyright © 2017, Aashish Barnwal,  All rights reserved.
Read more

There is a part of us which reacts to a situation or the behavior of a person in very specific way. This happens more often when the person happens to be a very good friend or a close one of yours.

There are times when we wish we had a magic wand so that we do some miracle to make the person behave the way we want her to be. More specifically, we want her to be like us. We never think twice that that unique difference defines us.
Irony is we don’t see things as they are, we see them as we are.

A small encounter in my life forced me to rethink and correct my perceptions about the things I visualize, behavior I observe and the way I react.
After a small phone conversation, we decided to meet on dinner as it had been quite long since we talked about the world around us.
It was hard to believe that she was the same girl I met 18 months back, crying over her life, her selfish friends, her bank balance, her big dreams, her having no supporting friend blah blah blah. The problems just never seem to end for her. I always thought that no matter how much good happens in her life, she would always be a crying baby. Each time we talked, ninety percent of our conversation was about her and her problems. There were times when she irritated me like hell.

But today, I met a new girl in her. She was mature, talked so much sense and beamed with confidence. Her life was very happening and full of exciting things. She had big plans for future and she was very positive about them. Her patience level had gone stronger.

But this change didn’t come overnight. It was the result of consistent effort of weeks, months. I remember all the hard work she did to get a better life, a life that people appreciate and want.

But, why am I writing all these things? Well, it was only after meeting her that I realized that I liked the older version of her more when she used to share every single detail of her life. It’s not that I am not happy with what she is today. I always wanted her to be happy. It’s just that she has become independent enough to not need me anymore and this is what hurts.

You realize the value of something only when it’s gone. There are some things which should not change.

Copyright © 2017, Aashish Barnwal,  All rights reserved.

Read more

It’s been 8 years in row when I last laughed on the day of romance. Every year, I had a belief that may be I would be lucky to get a chance to smile again, lucky to meet special someone to share my feelings with again. With years, my thoughts matured as I grew up. I know if someone is meant to be with you, to love you, to smile with you, to go nuts with you, there won’t be a valentine’s day to decide this. A valentine’s day is just another day. People have found extraordinary love on ordinary days.

I now spend the day in peace. It has become more of a habit now. I wake up in the morning, brush my teeth, take a shower, talk to people, like statuses of people falling in love, close my eyes for a while and wonder if anyone special is there out for me, dine and go to sleep. With each passing year, I have grown stronger in matters of love. Now I am careful because I know at the end of the day, it hurts. Breakup is painful. It cripples your brain and breaks down your nervous system. You just can’t think straight. You keep on asking the same question over and over again, “Why me?.

You must be wondering if I am optimistic about this year. Well I am not. It’s not because I am looking for the perfect girl. I am looking for someone I can spend next 50 years of my life with irrespective of all her imperfections. Perfection is a myth. A perfect girl doesn’t exist. I am looking for someone with whom I can talk to for hours without getting bored. A girl who can understand me when noone will. A girl with whom I can share my craziest of thoughts without worrying about her reactions. A girl who is as weird as I am. A girl who has passion, confidence, is willing to take chances and explore the world. I find confidence a terribly sexy quality in girl. When I see her, it feels like fireworks are going off. And and… style. She should really know how to wear a dress. Finding such a girl would take time. A day won’t change a dime. I would prefer to wait than hurry. The secret formula to be happy is to be with someone who makes you feel alive every single time you see her smile. It makes you realize that you are the reason behind her pretty smile and whatever you do, is worth it because moments like this are precious.

So this year also I will pass the day silently pretending that it is just another day. I will wake up in the morning, brush my teeth, blah! blah! blah!, dine and go to sleep.

Happy valentine’s day in advance! If you have got that special person, you are the luckiest 🙂

Copyright © 2017, Aashish Barnwal,  All rights reserved.

Read more

Every evening on the roof top of my hostel in Delhi, I used to see the shining airplanes going off into the thin air and wondered when I would get a chance to fly in one of these with my own capability. While that dream was fulfilled the moment I joined Microsoft, I started wondering to fly to United States in the best of airlines to feel how is it like to be in the most powerful country in the world..You can say that my dreams always get upgraded.

Being at Microsoft has its own benefits

I owned an important piece of project in Microsoft. There was a talk going on to fasten the velocity of work we were doing. Given the complexity of the project, its architecture was written in many layers few of which was coded by team at Redmond. Due to time zone difference and the critical timing, we had to act on it quickly to enhance quality of product. They decided to send me over to interact with people, understand different layers and their communication.

A sudden plan

I hardly remember traveling somewhere in such a big rush. It was 4 O’ clock in the evening when I was checking flight tickets and changing date in the calendar on the online portal to finalize which day to travel. 6 O’ clock, my friends found a flight that was to take off the next morning to Seattle and I spent next hour mentally preparing myself to fly so unprepared. It was just hard to believe that I would be traveling to US, one of my dream destinations without any preparation. My parents were asking me every other day if I bought winter apparels. I usually prefer to plan everything in advance and this time, without have a flight ticket in hand, I didn’t want. With support from my friends at Microsoft, I finally decided to give it a chance. There are few things in world for which you need not to be prepared. After all, traveling somewhere without much thinking has its own share of fun. And this was not somewhere. This was what I dreamed of long enough.

It all started with a joke. I was worried I was not getting any ticket in good airlines next week. I was tired, exhausted not a clue on what to do. “There is a flight next day at 4 in the morning. You can catch that.”

“Holy cow! This would be too early. How on earth would I be able to catch that?”

I knew they were serious when my manager said. “Actually, I think you can go.”

“But I haven’t done any shopping”, my forehead was shining with worry lines.

“It’s alright. What are the things you need? You can borrow them from me.”
My friends helped to prepare an itinerary. I literally got only 2 hours to dine and pack my bags. I usually never take more than 30 minutes to pack, but since this was my first trip to US, I didn’t want to take any chances.

It’s Emirates, baby

The moment I stepped into the flight, I got the answer why it has been coined as the best airlines in the world. The service, the infra and the experience was just amazing. It is very unlikely that you would be left unhappy after an Emirates travel. It was a 22 hours long journey with a 3 hours layover in Dubai. Being a movie buff and their huge collection of movies, I didn’t find it difficult to spend time.

2e5e596100000578-3315070-emirates_new_a380_has_two_classes_business_and_economy_and_will_-a-4_14473313834311

Hello from Redmond!

The flight was just on time. You might find it funny but the first thing I missed at Seattle airport was no taxi driver asking me where would I want to go. I didn’t have US Sim Card and it was freezing cold to stay for long in the open weather. There are two Marriott hotels in Redmond and I missed to mention which one I wanted to go to the local taxi. Even with a 50% chance of landing at the correct hotel didn’t work for me. Redmond is kinda a developed village. It’s hard to find anyone on the road. It was near difficult to ask someone for navigation. Luckily, the second Marriott was just a few blocks away.

Few of the pictures of the hotel:

16112518_1402536169766187_7154495049550897719_o[1].jpg

16114143_1402536173099520_2625156290256392395_n1

I learned that labor is costly in US. The gorgeous lady at the business center handed me over a map which had directions to follow my room. It’s very unlike in India that you would have to carry luggage to your room on your own in a decent hotel.

My first status update from Facebook on the arrival night.

It’s been only 11:00 PM here and I am done with sleep. It’s quite chilly outside and the roads are empty. A grave silence is there in the winds. Next couple of nights, I am gonna spend as a night crawler. I wonder if the new government would encourage vigilante. All of a sudden, I feel like I have all the time in the world and I have very less to do.
If I was not able to respond to your chats due to my busy schedule, Let’s catch up now

Being a hobby photographer, I found everything very interesting and screaming at me to be clicked.

The view outside my hotel room. As you can see, cars are parked in the open air. In the morning, the car windows are covered with a thick layer of ice.

dsc_0380

Just by the first look, I can say that discipline and patience flow in veins here. I never saw anyone rushing, everyone (well almost) greets you with a wide smile, cute children laughing on pavements and the most important thing – punctuality. People prefer to be on time. They dine by 8, sleep by 11 and woke up at 6.

Good morning Redmond

It is said that breakfast is the most important meal of the day. You don’t realize it until you skip dinner and have a heavy breakfast in Indian style dinner. Good morning Redmond!

20170124_154027797_ios

!JetLag

I was under impression that I won’t be getting sleep at usual time because of all the jet lag stories I heard. To my surprise, jet lag did magic to my schedule which I couldn’t follow even after trying for 10 years and many apps claiming to help you do so. I slept at 10, wake up at 6 and rushed to office by 8. It was just an amazing feeling. It was refreshing. I was way more productive. I never knew a good schedule can do miracles in your day to day life.

US Diaries – Part 2

 

Copyright © 2017, Aashish Barnwal,  All rights reserved.
Read more
Social media & sharing icons powered by UltimatelySocial
Facebook
LinkedIn
SOCIALICON
Instagram
YouTube