1. Sorting algorithms
Sorting refers to arranging the elements of an array or a set in either ascending or descending order. These sorting algorithms will be of some importance in this competitive world like if you are creating a application/software which has lists and if you want them to be displayed to the user in ascending/descending order(as per user's choice), you will need sorting.
I have included some of the easy and interesting sorting algorithms below along with their links for further study about them. [Learn them by clicking on them]
2. Search algorithms
Searching for an element or an object in a set. Consider these as important searching algorithms.
- Binary search
- Depth/Breadth first search(used in graph data structure)
- Used by search engines for web-crawling
- Used in artificial intelligence to build bots, for instance a chess bot
- Finding shortest path between two cities in a map and many other such applications.
3. Dynamic Programming
This is a very powerful technique to solve a particular class of problems. It usually splits the problem into similar sub problems and solution for each sub problem is found out and then merged together to build the solution for the main problem.
Learn about this here.
4. String Matching and Parsing
This involves finding a string pattern in the given text string. Some important algorithms for string matching are,
5. Hashing
Hashing is the transformation of a string of characters into a shorter fixed-length value or key that actually represents the original string. Hashing is used to index and retrieve items in a database, because it is faster to find the item using the shorter hashed key than to find it using the original value. It is also used in many encryption algorithms.
Learn more here.
These are some cool algorithms which is better for the programmer if known! Hope this helped you.
2 comments
Write commentsHi,
ReplyUseful article. Understood the concept. Thanks for sharing.
Cheers,
http://www.flowerbrackets.com/binary-search-program-java/
Great article!! Nice explanation on sorting algorithms with appropriate links. Thanks for sharing.
ReplyCheers,
http://www.flowerbrackets.com/how-to-implement-quick-sort-in-java-program/
Share your views about this article!