Life experiences

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

A feeling is hidden when someone says “I don’t care”,

A truth is hidden when someone says “I am kidding”,
A pain is hidden when someone says “It’s okay”,
A need is hidden when someone says “Leave me alone”,
A secret is hidden when someone says “I don’t know”.
A lot of emotions are hidden. Few just choose to hide them behind a fake smile. Sometimes, it’s good because not all people who ask how are you would really be interested in listening your story. People are busy and until & unless you are not their priority, they won’t care.

Copyright © 2017, Aashish Barnwal,  All rights reserved.

Read more

I wanna explore the world. I wanna go on a road trip someday with that beautiful girl I love. I wanna capture a lot of pictures, of her, of us, to cherish those happy moments when I will be sad. Listen to my favorite songs in the long drive.
I wanna stop in between just to enjoy the view and to see the cute smile on her face. I wanna get lost with her. Wake up, step out, wander in any direction with her on my arm while enjoying the mesmerizing views, keep walking until we feel so terribly weak on our knees that we are left with no choice but to rush to the nearest cafe, order some exotic food and a glass of wine. And then get back, wake up tomorrow and do it all over again.

I wanna see sunrise. And a lot of sunsets. Listen her all night while lying under starry sky. Sit on the brink of waterfall for hours and feel the charm of water droplets on the face. Run through a lush green forest. Feel the wind rushing in ears. Get lost in gentle breeze filling my nostrils with crazy fragrance of flowers. Pen down the experience while sitting in the colorful garden. Spend hours admiring the beauty of nature. Meet people on the way. Make memories. Purchase memorabilia. I wanna get surprised. I wanna feel alive. I wanna live my life.

Copyright © 2016, Aashish Barnwal,  All rights reserved.

Read more

I hear people shouting outside. I hear bursting firecrackers. I hear them celebrating. Many of my friends already planned this night in advance. But to me, it’s just another year, another night. For the first time in life, I wish to pass this night quietly staying alone, no WhatsApp and phone calls. I don’t feel excited or find any kind of adrenaline rush in my veins. Have I grown too old for celebrations? Or is it a sign of maturity? Is that how mature people feel, life with no excitement? Is it because they have witnessed many of such moments that this is just another old, rugged hour?

2016 was the year of learning and exploring the meaning of life. None of us can make through life without suffering some pain. Having lived my fair share, I can tell you that most difficult to endure is loneliness. We must find someone or something to invest our time into. Last year was all about self-realization and finding peace in myself. It was about discovering that it’s not all about career and love. There is a whole big world out there screaming at you to be explored.
In a nutshell, I can sum up my life in 2016 in three points:
1. Visited 8 Indian states and one foreign land
2. Tried my hands on Photography, Piano and Poetry
3. Witnessed that life is a blessing and every moment is priceless after going through the toughest, darkest phase of my life

Unforgettable moments

There are many unforgettable moments I had in 2016, and mentioning only one would be doing injustice to others:

Adventures

Being inspired from movie Zindagi Na Milegi Dobara (You won’t get life again), I experienced sky diving, scuba diving, para sailing and sea walking. You can have a glimpse here:

Flying like a bird

A moment before scuba diving:

A walk on the sea-bed

Darkest phase

Met an accident and spent 72 days of my life lying in bed devastated, traumatized, broke cursing fate and finding meaning of life. Funny part was I and my dad both lost 8 kgs of weight, I worrying about me and he worrying about me.

Diving into artistic world

Channelized my energy in positive direction and tried my hands in artistic world – Photography, Piano and Poetry

I showcase my work in Fashion and Glamour here – Instaglam | Facebook and Instaglam (@instaglamofficial)

Recognition

Got published my interview on one of the most popular technical site – Geek on the top – Aashish Barnwal | Make a habit of writing clean, readable, flexible and robust code – GeeksforGeeks

It’s time to set doable goals for 2017. Wish you a very happy new year!

Copyright © 2016, Aashish Barnwal,  All rights reserved.

Read more

Life is about trying out new things. How else are you supposed to know what are you good at. You get to live only once. Make sure it’s worth it. At the end of every year, I try to jot down the things I learned, all good and bad ones. While I find few of them worth cherishing, others are equally valuable to teach us lessons of life. 2016 was a wonderful year. Words would fall short to pen it. For the past few years, I had been wondering what my life is meant to be, what are the things out there which will render me with greatest pleasure, what is the secret ingredient of being happy. It was the year when I finally found the core where my happiness lies. While last year was fully devoted to my physical transformation, this year my focus was mainly on building my skills, to become a better version of myself. People often ask me about the trigger point of all these crazy stuffs that I do. Few people even asked me why do I not value money. All I can say is that they haven’t gone through the dark phase of life which I did. I have witnessed that anything can happen in the blink of an eye. We humans are mortals, made of flesh and blood. All it took me was an event to realize the value of life. Waking up each morning and finding yourself in best health is a blessing. 2016 was a year of diving into the artistic world – Poetry, Photography and Piano. Perhaps, someday I will compile another experience about these 3 P’s of my life.

So what was that event that changed me for good? My life was greatly influenced by the movie Zindagi Na Milegi Dobara (You won’t get a second life). I literally wanted to live it big while trying out all the crazy adventures, exploring the world and having hands on new things. As of now I have tried Bungee jumping, Sky diving, Scuba diving, Para sailing, Sea walking, Flying fox, 18 kms River rafting. In one of the adventures, I met an accident which took from me precious 72 days of my life. It left me devastated and broke. I had no clue on what to do. You can earn lost money but not the lost moments. They are priceless. I could give anything to get back the old life. What kept me alive, more important than oxygen and blood was hope. I realized what Pandora’s box is all about.

cgglimpuoaachkf

All this time, I couldn’t stop myself asking same questions over and over again. Did I live my life the way I wanted to? Or was it influenced by how others wanted me to? What if there is no tomorrow? The answers of these questions steered my thoughts about how my life should be in a complete different direction. While I am done with adventures, I realized that there are other domains worth exploring. Toughest phase of life teaches you lessons nothing else can.

life-lessons-quotes-sometimes-painful-things-can-teach-us-lessons-that-we-didnt-think-we-needed-to-know

Following are 12 lessons I learned in 2016:

1. Live life as if there is no tomorrow. And if you get a chance to witness tomorrow, do it all over again

2. If you love something, make it a habit: Do it regularly, be it playing piano or photography. It will help you improve your skills and to become a better time manager

3. Don’t procrastinate things that don’t take much time doing: Ever forgot to pay electricity or credit card bills on time and regretted doing it instantly you got the bills? If a piece of work requires less than 5 minutes of your attention, do it immediately instead of postponing it. These small tasks usually pile up and then takes more of your time than it should.

4. Had a breakup? Build up your skills: I won’t lecture much on this topic. Love is the sweetest fruit. But sometimes it doesn’t go according to your wish. If you suffered a broken heart, keeping yourself busy helps a lot. Try to learn something new.

5. Find happiness in whatever you do: Science has proven that you learn something quickly if you enjoy it. Happiness plays a very key role in your success. Look at successful people around you. They are far better than others because they love what they do. Don’t do anything just because everyone else is doing. Do it because your passion drives you

6. Meet new people, they have lots to tell you. Examples are better than precepts. People experience life differently. Sometimes talking to them is no less than watching a fiction.

7. Hope is a good thing. Don’t underestimate it

8. Choose friends wisely. Not everyone you consider friend will understand you when you will be undergoing hardest phase of your life. I learned this the hard way

9. When you feel left out, a lone wolf, write your heart out. Believe me, this is how I started writing and it is fun

10. Your parents love you. They will support you when noone else will. You should always try to find time for them no matter how busy your life is. As a matter of fact, I have noticed that people are not that busy. It’s all about managing time and priorities.

11. Wake up an hour early to feel the power of time. Have you ever woke up early and found yourself binding up a lot of smaller tasks? Were you not amazed by finding out how much your day changed? You plan your day in advance and observe the difference between an adhoc and well managed day. Remember, you don’t need an assistant for that.

12. Every year go somewhere you have never been before. Every month take a day off from social networks

Each one of us have different ways of narrating story because we live differently, perceive differently and react differently. If you love reading my way of telling the story, you might like other experiences I penned here – My life experiences.

Here is a list of 12 things I learned in 2015

Copyright © 2016, Aashish Barnwal,  All rights reserved.

Read more

What to say about wonders of travel,
Never ending mysteries are there to unravel,
No matter how much I wander around,
Something new renders me spellbound,
Varieties of culture and exotic food,
Millions of reasons to uplift my mood,
A thirst which never seems to be quenched,
That is why, it’s called wanderlust my friend,
I wish I could travel forever and ever,
Far from the materialistic world, in the lap of nature.

Copyright © 2016, Aashish Barnwal,  Some rights reserved.

Read more

I very well remember the day I met you. The day I saw you, I talked to you.

As I’m writing this, all those golden moments we spent together are flashing in front of my eyes. Those were some of the best days of my life and you changed me for good. I learned to laugh. I learned to care. I learned to see the world from a different perspective altogether. All I can say is that you have given me memories I will cherish. You had a bad impression on me in a good sense. I am a very careful person. But for some reasons, it was hard to be careful when you were around me. I am the kind of person who prefers to bottle up the feelings to make sure noone gets hurt.

While I always liked you and loved you, you never really cared about my feelings. All those long hours were fake. Somehow, I feel you knew this all along. I waited long, really long. Days, weeks, months.

So it’s enough.

I can’t do this anymore. I can’t let emotions trick me into false believes that we can be together. If we were meant to be together, it would have already happened.

In this dilemma between heart and mind, heart has played me enough. Love was always my weakness. It’s time to let mind take the decisions. It’s time to move on. So here is me, letting you finally go. I wish you all the best. Whatever you do, be happy. Because it was your smile which made me fall for you the very first day.

Copyright © 2016, Aashish Barnwal,  All rights reserved.

Read more

This post was residing in my draft for quite long. I finally got some time out of my busy schedule to refine it.

The first question quickly pops up on why am I writing this post at all. There are already tens of hundreds of similar compilations on web that talks about this.

Well, following reasons compelled me to do so:

  1. Being a GFG moderator, I’ve been getting many requests from readers through various social media (FB, LinkedIn, Quora, InstaGuide) and various mail clients asking for mentorship and guidance on how to prepare for top MNCs like Microsoft, Amazon, Google etc
  2. Having gone through similar journey and witnessing many of my friends succeeding, I feel knowledge should be shared. My experience might be useful for newer generations who happen to chase the same goal as once was mine

Please note that this article is purely a reflection of my learnings, what I followed through the years and my experience. This is NOT the only way to improvise on what is needed – your coding skills, strengthening DS & Algorithms and boosting problem solving skills. I repeat, this is NOT the only way. There are things I couldn’t follow because of time constraints or didn’t follow because I was just not aware. Please comment if I missed anything which is worth mentioning here.

Language

Language has been a topic of debate between aspirants since years. It’s always good to master one language, knowing ins and out of it rather than hopping from one language to other. Why?  Because sometimes it might happen to you that when you get a problem, you start wondering what language you should choose and your focus is compromised. When you should really concentrate on problem solving, Implementation comes later. Then while you are coding, you plan to change the language in between. This won’t serve you good in interviews. If you’re able to solve a problem in language ‘X’, eventually you will also solve it in language ‘Y’. Learning a new language is just a matter of time. A language might not be as widely used after 5 years as it is being used now. Your ability to solve a problem will what matter in the long run.

I usually switch between C and C++. If time is at its crunch, I prefer to use STL (standard library functions) instead of writing my own version of Linked List. If I want to develop a project, an android app for instance, I go for a managed language because it is easier. If I want to automate something to save my time, like replying and liking my birthday wishes, a python script is the saving grace. You got the point, right? Master one language and learn others as per requirements.

Data Structures and Algorithms

Data Structures and Algorithms is very important and serves as the backbone of problem solving.

For beginners, Fundamentals of Data Structures in C by Sahni Horowitz is good. After reading it, you should be able to understand basic Data Structures, how they are implemented and fewer examples where they can be used. Don’t expect to learn advanced DS through this. After your basic concepts are clear and you are comfortable implementing them in a language of your choice, you can work on learning algorithms and solving problems.

Many sites (including GeeksforGeeks) present problems in a very adhoc manner with no order of difficulty level. This makes things difficult for beginners because they don’t know the difficulty level of the problem they are attempting. Data Structures and Algorithms made easy by Narasimha Karumanchi is a good read after you are comfortable with the basics. It has pretty good collection of problems organized by difficulty level. Just make sure to try to solve problems on your own instead of rushing for the solution. Once you have a fair understanding of DS and have got some confidence in solving problems, jump to online portals and start solving problems from topic of your choice. GeeksforGeeks is good to start with.

For Algorithms, Introduction to Algorithms by Cormen is a must read.

Advanced Data Structures

Sometimes, basic DS don’t serve the purpose to solve problems and you need to know advanced DS. Day to day problems like implementing a prefix based search for a phone contact list to finding the dictionary word from a jumbled sequence of characters need special kind of DS. There are many of them – TST, Trie, Suffix tree, Suffix array, Fibonacci heap, Segment tree, Gap buffer, Rope, Skip list, K Dimensional tree and so on. While it is good to know the implementation of these DS, I would suggest to also know when to use one.

Problem solving

So you got a gun, understand how to use it, probably have used it before. If you are going to fight a war, you won’t like to rely upon your amateur experience. You would prefer to practice hard to save your ass. Now try to think it in perspective of problem solving. You know what DS are. But you also need to know when to use one. Welcome to the world of problem solving. You are given a problem and you are asked to solve it. That problem can be anything starting from a simple puzzle to implementing a user scenario. You must have noticed degree of connection feature in LinkedIn. How will you implement it? Does your approach take care of scalability? Will your code crumble when user base increases ten folds? This is the most important skill top MNCs usually look for. How do you approach a problem? How do  you divide it into modules? How do you solve each of them and then combine them?

Dynamic Programming

I separated out DP because it is one monster which is difficult to master upon. No matter how many problems did you solve in the past, a new DP problem can always surprise you. The more you will practice, higher the chances will be to find out patterns. Google is peculiar about DP. You should expect at least one DP problem per interview round  if you are preparing for Google. Practice DP section from:

Competitive Programming

Competitive Programming plays a very important role in boosting problem solving skills and ability to perform under time pressure. Do participate in various online portals like TopCoder, CodeChef, SPOJ. Here is a post on Getting started in sport of programming.

Design and testing

So you are good in DS and Algos. You are probably good in problem solving as well and you come up with different approaches with varying time and space complexity. The problem which you solve in Competitive Programming is well defined and has to work under an environment which nobody will probably use. What if you are asked to implement a user scenario. The problem statement is usually vague and you need to discuss a lot to resolve ambiguities. This is where design comes into picture. How will you design a redo-undo feature? What data structures will you use to store history in a web browser? How will you implement auto-complete feature in address bar? Let’s say Amazon wants to build a feature that would resume a video stored in cloud from any device. What data structures will you use? How will you scale up things? Does your design take care of concurrency issues? What about the performance? What if you and your girlfriend share the same cloud account and are trying to play the same video from different devices?

Now you have thought through the design well, have come up with different data structures to use with pros and cons in mind. While implementing, you must take care of corner cases. You must be aware about the integer overflow issue in Youtube video view count. While implementing, they never really thought that the view count can exceed what an integer variable can hold and BOOM, the view count cycled back to zero.

Before a feature goes live, it must be tested well. It is good to practice some test questions as well. How will you test a Insert image feature in MS Word? What about a cut-copy-paste feature? How will you test Temple Run game? Try to write all the possible test cases and how you are going to handle this in your code. Writing a robust code is very important. If you take care of these things at an earlier stage, you can avoid silly bugs (and boost your chances of getting selected in interviews).

What else?

Have a sound understanding of Operating System. The dinosaur book by Galvin is a good read. Know how networking works and have insights on DBMS.

Resume building

First impression is the best. Resume is the first thing that HR will use to decide whether to call you for interview or not. And they have got hundreds of them. So they will usually scan it for 20 seconds to 2 minutes. It should be clean, concise and elegant. Each word mentioned should worth the space it eats. The rule of thumb is if you have less than one year of experience, the size of resume should not exceed a page (with few exceptions).

Few points to note:

  • Maintain a header to fit info like name, email id, address and contact number
  • Mention level of expertise corresponding to each language. Example: Proficient in C and good at Java
  • If you are mentioning a project, write your key learning, impact in the team and . If this project is online (an app), don’t forget to include the link. This will show that you built something that is being used by people . Guess what, this is what companies do, building a product, stabilizing it as per user feedback, taking in new feature requests and so on.

Here are few useful tips from Gayle – What are common mistakes that applicants make when writing their resumes for tech companies?

How to apply for Microsoft?

I get many messages asking me for a favour to refer them. When I ask them how much comfortable they are with DS and Algos, they say good enough. Then I rephrase my question to how do they feel when they solve interview experiences at GeeksforGeeks. Either they haven’t heard of GeeksforGeeks or they never read. This is not a surprise. GeeksforGeeks is still growing. But when I ask them a problem on DS by tweaking already existing famous ones, all they say is they haven’t solved this problem before. Please do NOT do that. It’s one thing to yearn for something. But quite other to put efforts to make it a reality.

If you are not able to clear the interviews, you will have wait again for 6-12 months depending on the company policy before you can apply again. Now coming to the point,  you can apply for a position at Microsoft either through Careers page or through referral. Referral usually bumps chances of getting an interview call because your resume gets to the system through a person Microsoft trusts to be a good engineer. How do you ask for a referral? It’s simple. Forward your resume to someone you know working there. No one will say NO unless your resume is filled with something which doesn’t fit company requirements. Rule of thumb is we believe in solving problems and if you are good at it, we would love to see you here. Remember, everyone wants to work with a smart person. And this is usually true for any company, not just for Microsoft.

Do’s and Don’ts

  • Practice, practice and practice
  • Make a habit of writing clean and readable code (avoid variables names like i, j)
  • Make sure to handle all corner cases
  • Use pen and paper to practice code. In interviews you have NO access to a compiler
  • Don’t mug up the solutions. Try to solve on your own
  • Think of different ways of solving a problem and thoughts on why one should be preferred over the other

Resources

I have answered few questions related to interview preparation on Quora. You might find some content missing here in blog and it is intentional to avoid the duplication of efforts. Please read my technical answers here.

Resources (which I haven’t talked about):

  • Cracking the coding interview by Gayle Laakmann: A must read once before interviews. It covers aspects like what interviewers expect from you, how to deal with behavioral questions and few interesting problems. It will change your thoughts about design and test problems for good
  • GeeksforGeeks: A bible of problems (with well explained solutions). Make sure you do NOT rush for solutions. Try to solve problems on your own no matter how much time does it take. With time and honest practice, you should get better
  • CareerCup: A huge collection of problems. Though you can’t rely upon solutions, it provides a rich community for discussing problems. I found it good for discussing design problems
  • Project Euler: A heaven for mathematics lovers. You solve the problems using some formulas on paper and then write code to get the final solution. Solve at least 40 problems from this site.

You might like following write ups:

PS: This blog is published on GeeksforGeeks.

Good luck!

Copyright © 2016, Aashish Barnwal,  All rights reserved.

Read more

Life is all about how you live it. We all have got same 24 hours in a day. Some achieve much. Some achieve less. Some do wonders. Some do blunders. It’s about what we learn from our mistakes. This is the top 12 list of things I learnt last year.

1. Be brave. Pretend to be, even you are not. Nobody will know the difference. People cannot read your mind.6G4Ij41463673941

2. Dare to take risks. You would regret less about the things you did than the things you didn’t.vU4EhV1466787770

3. Your virtual life is not going to help you in your physical problems. Find some time out of your busy schedule and meet people you care about.

4. Learn to say NO.Learn to say No

5. Don’t waste time worrying about the people who don’t spend time worrying about you.

6. When angry, count ten.qnycg31466791917.jpg

7. Don’t do bad to people if you can’t do good. You will feel good in the long run.

8. Keep smiling. A simple smile could have you looking several years younger in an instant.Smile

9. Don’t compare your life with the people around you. You have no idea what their journey is all about. l-12487

10. When in love, express it. Keeping it to yourself doesn’t help either.Express love

11. There will be times when you would feel like king of the world. Be patient, humble and down to earth, because that is how people will remember you.hijuoZ1466790187

12. You can sometimes be wrong. Apologize for your mistakes and learn to appreciate people for things they do.8GcIao1466789510

Copyright © 2016, Aashish Barnwal,  All rights reserved.

Read more
Social media & sharing icons powered by UltimatelySocial
Facebook
LinkedIn
SOCIALICON
Instagram
YouTube