Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Use of advanced algorithms and data structures in real life

 
Greenhorn
Posts: 6
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am wondering if algorithms and data structures are really used in the field.

Me myself, have always liked to learn about those but the only place where I can really make use of them is on platforms like Leetcode and Hackerrank.

Of course coding interviews at big tech companies require knowledge about those too but what about the project you work on every day?

PS:

I work as a software engineer on Java Web Applications ( Spring )
 
Sheriff
Posts: 16719
278
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just had a quick look at the book contents and it does look like the author gave real-world examples of how these algorithms can be applied. Many of them, like Bloom filters, are used widely. I'll leave it to our guest author to give you a more comprehensive answer but the short of it is, yes, algorithms and data structures are used all the time even though you may not be aware of them.
 
Author
Posts: 20
7
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ayoub Rossi wrote:Hi,

I am wondering if algorithms and data structures are really used in the field.

Me myself, have always liked to learn about those but the only place where I can really make use of them is on platforms like Leetcode and Hackerrank.

Of course coding interviews at big tech companies require knowledge about those too but what about the project you work on every day?

PS:

I work as a software engineer on Java Web Applications ( Spring )



Thanks for your question Ayoub, that's a very good point.
Yes, indeed, algorithms are vastly used in real world, every-day work. Of course that's more true for some positions, while for other jobs it might be an exception rather than something you deal with every day.
For instance, R&D is a (sub)field where you are likely to have to deal on a regular basis with advanced algorithms and DSs, and you probably would need to know their ins and outs.
As a backend engineer focusing on web applications, you might have the chance to use some of these algorithms every so often to improve the performance, or memory usage, of the applications you write.

In my experience, knowing the basics is very important: once can harm the performance of a web application very easily by misusing lists, maps and priority queues already (I can provide a few examples, if you are interested).
You won't probably need Dijkstra, but for example I'm working right now on a project, in the area of ecommerce, that requires some knowledge about graphs and implementing a custom version of DFS.

Junilu Lacar wrote:I just had a quick look at the book contents and it does look like the author gave real-world examples of how these algorithms can be applied. Many of them, like Bloom filters, are used widely. I'll leave it to our guest author to give you a more comprehensive answer but the short of it is, yes, algorithms and data structures are used all the time even though you may not be aware of them.



Thanks Junilu! Yes indeed, we tried to provide examples of real-world applications for all the algorithms that we discussed in the book: for instance, just in the first few chapters, we deal with a tool to handle tasks/bugs, an e-commerce system, a rudimentary warehouse management etc...
And I tried to go even further, discussing techniques and best practices to take decisions when implementing these solution, from design to profiling.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic