vishalmx3

vishal.codes

Posted on May 1, 2024

Day 31/366

šŸš€ Today's Learning:

šŸŒŸ DSA

  • Bubble Sort
  • Insertion Sort

šŸŒŸ Dev

  • ReactJS vs React Native

šŸ” Some Key Highlights:

DSA

Bubble sort is a simple sorting algorithm that iterates through a list, compares adjacent elements, and swaps them if they are in the wrong order. This process continues until the list is sorted. It gets its name because smaller elements "bubble" to the top of the list with each iteration, much like bubbles rising in water. The algorithm repeats this process for each element in the list until no more swaps are needed, indicating that the list is sorted.

Insertion sort is another elementary sorting algorithm that builds the final sorted list one element at a time. It starts with a sorted sub-list of one element and then repeatedly picks up the next unsorted element and inserts it into the correct position in the sorted sub-list. This insertion process continues until all elements are in the correct order. It is like sorting a hand of cards, where you pick up each card and insert it into its correct position among the already sorted cards.

DEV

React is a JavaScript library primarily used for building user interfaces for web applications. It allows developers to create reusable UI components and efficiently manage the state of these components. React uses a virtual DOM to improve performance by updating only the necessary parts of the actual DOM when changes occur. It's commonly used in web development to create dynamic and interactive user interfaces.

On the other hand, React Native is a framework developed by Facebook that allows developers to build mobile applications using JavaScript and React. While React is focused on web development, React Native extends its capabilities to mobile app development. It allows developers to write code once and deploy it across multiple platforms, including iOS and Android, providing a more efficient and cost-effective solution for building mobile apps compared to developing separate native apps for each platform. React Native achieves this by translating React components into native UI components, ensuring a native look and feel for the app on each platform.

#100daysofcode #1percentplusplus #coding #dsa

šŸ’– šŸ’Ŗ šŸ™… šŸš©
vishalmx3
vishal.codes

Posted on May 1, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Day 42/366
1percentplusplus Day 42/366

May 12, 2024

Day 41/366
1percentplusplus Day 41/366

May 11, 2024

Day 40/366
1percentplusplus Day 40/366

May 10, 2024

Day 39/366
1percentplusplus Day 39/366

May 9, 2024

Day 38/366
1percentplusplus Day 38/366

May 8, 2024