Skip to main content

Discrete maths in Pinterest (Sorting Algorithm)

Sorting Algorithm
              
When pinterest link keywords and picture together,it’s surely that you don’t want one pictures. Pinterest use sorting algorithm to find similar pictures to be a choice to users. Sorting use many factors to define it example,by similar color,same category and the same pins.

Sorting helps pinterest to be a big source of pictures on the internet for people who want to
search something by don’t have to read many words so,you just look for the picture instead and

pinterest can be social diary to show your own just by pictures on your boards.

Sorting refers to arranging data in a particular format. Sorting algorithm specifies the way to arrange data in a particular order. Most common orders are in numerical or lexicographical order.

Increasing Order
A sequence of values is said to be in increasing order, if the successive element is greater than the previous one. For example, 1, 3, 4, 6, 8, 9 are in increasing order, as every next element is greater than the previous element.

Decreasing Order
A sequence of values is said to be in decreasing order, if the successive element is less than the current one. For example, 9, 8, 6, 4, 3, 1 are in decreasing order, as every next element is less than the previous element.

Non-Increasing Order
A sequence of values is said to be in non-increasing order, if the successive element is less than or equal to its previous element in the sequence. This order occurs when the sequence contains duplicate values. For example, 9, 8, 6, 3, 3, 1 are in non-increasing order, as every next element is less than or equal to (in case of 3) but not greater than any previous element.

Non-Decreasing Order
A sequence of values is said to be in non-decreasing order, if the successive element is greater than or equal to its previous element in the sequence. This order occurs when the sequence contains duplicate values. For example, 1, 3, 3, 6, 8, 9 are in non-decreasing order, as every next element is greater than or equal to (in case of 3) but not less than the previous one.

Comments

Popular posts from this blog

What is pinterest?

What is pinterest? Pinterest is a social network that allows users to visually share, and discover new interests by posting (known as 'pinning' on Pinterest) images or videos to their own boards. you'll always find Pins to make inspiration. When you discover Pins you like, save them to boards to keep your ideas and easy to find. Pins When everyone find things that they love,they pin it so,Pins are ideas that people on Pinterest find and save from around the internet. Each Pin links back to the website it was saved from. If you click the Pin, you can know the information of its. Home feed Pinterest remember category,prople,topics and boards that you often find or save it to pins and show them to your home feed every time you go through pinterest. Boards Your saved pins ,it saved on your boards and you can manage everything you want on your boards to share more ideas to others. Profile Your profile will be a mirror that reflect who you are to other p...

Search engine

          If you get many pictures on your boards,Pinterest will combine it together with keywords and category that makes from user all over the world to be a function in pinterest that’s called ‘Pins’.           Search engine works by combine pins with the category all your own pictures to make everytime .That user get into the app, Pins shows their last favourite pictures that they used to pins before. Let’s understand the type of searching! Searching Algorithms           Search algorithms are very important for many programs. Searchers looking for database, such as looking up your score record in the database. Although programmers can choose from search types, they select the algorithm that best matches the size and structure of the database.