Open in app

Sign In

Write

Sign In

Shubham Gautam
Shubham Gautam

1.1K Followers

Home

About

Published in EnjoyAlgorithms

·Pinned

Quick Sort Algorithm

Asked In: Google, Microsoft, Adobe, SAP Labs, Goldman Sachs, Qualcomm Why quicksort? Quick sort is one of the most popular sorting algorithms, which uses the divide-and-conquer problem-solving approach. There are several reasons to learn this algorithm: One of the best algorithms for learning the idea of recursion. Quicksort is often the best…

Algorithms

11 min read

Quick Sort Algorithm
Quick Sort Algorithm
Algorithms

11 min read


Published in EnjoyAlgorithms

·Pinned

Top Problem-Solving Approaches in Data Structures and Algorithms

In this blog post, we’ve discussed some popular strategies for solving problems in data structures and algorithms. Mastering and applying these strategies can help you more effectively tackle problems and crack the coding interview. An Incremental approach using Single and Nested loops One common approach to problem-solving is to build a solution incrementally using a loop. …

Data Structures

10 min read

Top Problem-Solving Approaches in Data Structures and Algorithms
Top Problem-Solving Approaches in Data Structures and Algorithms
Data Structures

10 min read


Published in EnjoyAlgorithms

·Pinned

System Design Concepts for Interview Preparation

System design is an important topic for both technical interviews and real-world software development. It’s used to solve large-scale problems and is often asked about in interviews at tech companies. This blog will introduce you to the basic concepts of system design. What is System Design? System design deals with designing a system that…

System Design Interview

9 min read

System Design Concepts for Interview Preparation
System Design Concepts for Interview Preparation
System Design Interview

9 min read


Pinned

Why do programmers fail in Data Structures and Algorithms Interviews?

All over the world, millions of programmers are looking forward to pursuing a dream career in programming and computer science. On an average, a dedicated programmer is spending atleast thousand hours in learning data structure & algorithms and preparing for the coding interview. Unfortunately, lot of guidance and learning resources…

Programming

3 min read

Programming

3 min read


Published in EnjoyAlgorithms

·Updated Nov 18, 2022

Merge Sort Algorithm

Difficulty: Medium, Asked-in: Microsoft, Amazon, Goldman Sachs, Qualcomm, Bloomberg, Paytm Why merge sort? Merge sort uses a divide-and-conquer idea to sort input elements into increasing order. Here are some critical reasons to learn this algorithm: Merge sort is an efficient sorting algorithm that works in O(nlogn) time complexity (both best and worst cases). …

Programming

8 min read

Merge Sort Algorithm
Merge Sort Algorithm
Programming

8 min read


Published in EnjoyAlgorithms

·Nov 17, 2022

Find maximum and minimum in an array

Difficulty: Medium, Asked-in: Facebook, Microsoft, Key takeaway after reading this blog: You will learn problem solving using single loop and divide and conquer approach. In the single loop approach, we are incrementing loop by 2 to solve the problem using minimum number of comparisons. Problem understanding Given an array X[] of size…

Programming

7 min read

Find maximum and minimum in an array
Find maximum and minimum in an array
Programming

7 min read


Published in EnjoyAlgorithms

·Sep 3, 2022

Why do we need to learn different sorting algorithms?

Sorting is one of the fundamental coding problems in data structure and algorithms. The critical question is: why do we study the design and analysis of the sorting algorithms? Here are some critical reasons: Reason 1: We can learn various problem-solving approaches using sorting algorithms The sorting problem can be solved using various ideas. So sorting algorithm is one of the…

Programming

4 min read

Why do we need to learn different sorting algorithms?
Why do we need to learn different sorting algorithms?
Programming

4 min read


Published in EnjoyAlgorithms

·Apr 12, 2022

Find Square Root of a Number

Difficulty: Medium, Asked-In: Amazon, Microsoft, Facebook Key takeaway: An excellent problem to learn problem-solving using binary search. Square Root problem Given a natural number n, find the largest integer that is less than or equal to √n. This can be seen as a search problem where the search space S is the set…

Programming

5 min read

Find Square Root of a Number
Find Square Root of a Number
Programming

5 min read


Published in EnjoyAlgorithms

·Apr 12, 2022

Find out the Fastest 3 Horses

Difficulty: Medium, Asked-in: Google, Amazon Problem Statement There are 25 horses among which we need to find out the fastest 3 horses. In each race, only 5 horses can run simultaneously because there are only 5 tracks. …

Puzzle

3 min read

Find out the Fastest 3 Horses
Find out the Fastest 3 Horses
Puzzle

3 min read


Published in EnjoyAlgorithms

·Apr 11, 2022

Euclidean Algorithm: Find GCD of Two Numbers

Difficulty: Medium, Asked-in: Microsoft, SAP Labs Key takeaways The Euclidean algorithm is one of the oldest and most widely known algorithms. It is a method of computing the greatest common divisor (GCD) of two integers m and n. One of the best problems to learn problem-solving using the decrease and…

Algorithms

6 min read

Euclidean Algorithm: Find GCD of Two Numbers
Euclidean Algorithm: Find GCD of Two Numbers
Algorithms

6 min read

Shubham Gautam

Shubham Gautam

1.1K Followers

Founder and CEO enjoyalgorithms.com | IIT | Super 30 | Email: shubham@enjoyalgorithms.com

Following
  • Design Council

    Design Council

  • Netflix Technology Blog

    Netflix Technology Blog

  • Ravish Kumar

    Ravish Kumar

  • Mahendra Chouhan

    Mahendra Chouhan

  • Suyash Namdeo

    Suyash Namdeo

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech