Problem Solving

Problem Solving

In this episode, we are going to learn about problem solving and specifically how to approach solving a problem during an interview and various other technical aspects that are important from an interview point of view.

Imagine you are sitting in a technical interview. The interviewer has asked you to solve a coding problem. How do you think should you approach? Should you straight away start writing the code? Definitely not. First and foremost, it is important for you to ask clarifying questions regarding the problem statement given to you. Make sure you thoroughly understand the problem in question before you start thinking of ways in which it can be solved. Your communication skills are extensively to be used at this point in time of your interview.

Once you are clear with the problem statement, go through the sample data and examples thoroughly. After that, start communicating your ideas to the interviewer. Begin with the naive or the brute force way of solving the problem. Then, explain the alternative ways you have considered to solve the problem and how the algorithm can be optimised. The efficiency of the solution proposed by you is inferred by performing asymptotic analysis. In this analysis, we evaluate the performance of an algorithm in terms of input size. Essentially, we calculate, how the time or space taken by an algorithm increases with the input size. While describing your approach, you could write a pseudo-code for the problem. After your interviewer is satisfied with your approach, then you could move on to write the code for the same in your preferred programming language. While doing so, discuss the sample data or test cases with the interviewer. Before, submitting your final solution make sure that your code runs for every possible input including the edge cases.

See you in the next one.

Wish you a great success !

Vaidhyanathan S M

Er. Jitendra Sharma

??Open to Work ? ??Immediate Joiner ? ??4+ year's ? ??Sr. Software Engineer ? Flutter-Android Developer {Android ? Ios ? Web ? Dart ? Flutter} ? Firebase ? GitHub ? SQL ? Flutter development ? Android development?

3 年

Great ..thanks for posting.waiting for more interview questions, that can clear our doubts easily.

Vaidhyanathan S M

Senior Product Engineer @TCS | Full Stack Developer | Native Android / Flutter Developer | Author | Tech Blogger | Open Source | Mentor

3 年

Link to my Self-published book : https://www.amazon.in/dp/B0975475WF Link to my GitHub profile : https://github.com/smv1999 Apps on Google Play Store: https://play.google.com/store/apps/dev?id=6670598499208527718 #amazonindia #amazon #interviewprep #google #android Like the comment, so that it stays on top !

要查看或添加评论,请登录

Vaidhyanathan S M的更多文章

  • The Machine

    The Machine

    Hey Everyone ! It's been a long time since I wrote my last article. I am extremely happy to notice that 3800+ people…

    1 条评论
  • Android Development Roadmap

    Android Development Roadmap

    In this episode, let's talk about the best languages / tools and resources for Native mobile app development. Languages…

    1 条评论
  • Responsive Web Design vs Native App Dev

    Responsive Web Design vs Native App Dev

    In the last episode, we talked about Native mobile app development and the needs to learn it. In this episode, let's…

    1 条评论
  • Native Mobile App Dev

    Native Mobile App Dev

    After a successful series of episodes on Interview Preparation (It's not over yet, more interesting episodes are on the…

    1 条评论
  • Importance of Projects

    Importance of Projects

    In this episode, we are going to talk about the importance of projects in your placement preparation journey. I would…

    2 条评论
  • Importance of SWOT Analysis

    Importance of SWOT Analysis

    In this episode, we are going to talk about SWOT analysis and the importance of it during your placement journey. SWOT…

    4 条评论
  • Interview Etiquette

    Interview Etiquette

    In this episode, we are going to look at interview etiquette that are to be followed before, during and after an…

    1 条评论
  • My Internship Experience

    My Internship Experience

    Apart from participating in Hackathons and Coding Competitions, I also got numerous internship opportunities during my…

    1 条评论
  • Ace your HR Interview

    Ace your HR Interview

    In this episode, we are going to discuss some frequently asked questions in HR interview. It is important to be…

    5 条评论
  • Preparing the right way

    Preparing the right way

    In this episode, we are going to discuss interview preparation strategies. We'll discuss in detail the things that need…

社区洞察

其他会员也浏览了