Heap is a specialized tree-based data structure and is used to represent the priority queue. In the heap-sort algorithm, we have two heaps min-heap and max-heap.

Let’s take the input as [6,8,9,2,4]

(i) Min-heap:
In the Min-heap, the “Parent node should be less than or equal to the child node”. Let’s arrange the input as in the tree structure.

The stack is a linear data structure that will allow adding or removing elements in a particular order. When a new element is added at one end, it goes on the top of the stack. Stack follows the “Last in First out” order. In stack, we can add, traverse, and remove the elements at the same end only. Ex: Pile of objects.

A toast message is a small message that appears on the screen for a few seconds. It is considered as a simple information that you have done.

Let’s see how do we achieve it in flutter,

For the toast message, we have to use a package called toast. This package has four main properties.

  • msg - It is a String property and it will only contain the feedback or the information that displays on our screen.
  • context - It is nothing but BuildContext.
  • duration - It denotes the period of time. We have two options short-period(Toast.LENGTH_SHORT), long-period(Toast.LENGTH_LONG).
  • gravity - It…

Normalization is a process of organizing data in a database to avoid data redundancy and to eliminate insert anomaly, delete anomaly, and update anomaly.

Here, anomaly refers to error

Now, Data redundancy means similar data in multiple rows. Let’s take an example to explain those anomalies.

Database Management System is a software that is used to store & retrieve the data simply like an Excel sheet.

Let’s take an example called the Company database.

The first question that arises in our mind is?

“ Why we need to develop apps? ” Here is your answer!

  • It is essential for Online business.
  • It is used to boost your sales.
  • To improve customer engagement and visibility to all customers at all times.

Now we know that the needs of apps, the next question may raise is
“ how do we create apps? ” Here is your answer!

Creating apps is not too hard. There are many tools and frameworks that are available to develop mobile apps. But I recommend the Flutter framework.

Let’s see what it…

Keerthiga Ranjithkumar

Software Developer Trainee

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store