Skip to content

Software Development at Program Tom LTD

Place for coding, programming, development and software in general.

Menu
  • Blog
  • PDF Booklets
  • Dev Utils & Content
  • Java Spring Boot Or Web Apps
  • English
    • български
    • English
    • Español
    • Português
    • हिन्दी
    • Русский
    • Deutsch
    • Français
    • Italiano
    • العربية
  • About Us
  • Flutter Apps
Menu
Big O Notation vs Real World Examples

Big O Notation vs Real World Examples

Posted on January 30, 2025January 30, 2025 by Toma Velev

Your search for super efficient big O notation in interviews is less important and it is demonstrated by the Real World Examples.

Big O Notation in Interviews

Traditionally, big O notation has been a staple in coding interviews to assess a candidate’s ability to understand and optimize algorithms. However, in my personal opinion – there’s a growing demonstration from the market that – understanding big O is just one part of being an effective software engineer. Practical problem-solving, system design, and understanding of actual performance in real-world systems should carry more weight.

Company Examples

Facebook (Meta):

Mark Zuckerberg himself have had a lecture – wher he technically described how he worked around the algorithmic complexity of the search in graph algorithm. Simply said – the search was executed inside a box – only in limited sizes of data. This way – the time of execusion is kept small.

Different Storage Systems

In the same lecture he also mentions about scaling the traditional SQL databases. From my experience there are several options beyond old school RDBMS:</p>

  • NoSQL Databases: Companies often use NoSQL databases for scalability and flexibility, where the traditional big O might not directly apply due to the varied query patterns and data models.
  • Lucene for Searching: Lucene and similar search engines optimize for search efficiency beyond just big O, focusing on relevance, speed, and the ability to handle complex queries over large datasets.
  • File Caches
  • Keep stuff in RAM memory to improve specific applications logic.
  • Custom solutions mixing all the above.

Deep Learning

Reent success of Deepseek has demonstrated that better perofming LLM could archived by

  • minimizing decimal point accuracy
  • limitting the data set information

In machine learning, the focus can shift away from traditional big O. Right now it is more about

  • model accuracy,
  • training time,
  • inference speed,
  • and the amount of data that can be processed.

Techniques here include optimizing for GPU usage, quantization, pruning, or using different precision levels for training and inference to balance between performance and accuracy.

Specific Use Cases

Even in the form before LLMs – the Software was lifting the weight from repetitive tasks to specialized software that could run on almost any software. A little reminder – most servers are Linux. If you have very clear and specific idea how to optimize some process – you will not need super expensive GPUs.

This articles is continuation from Algorithmic Complexity – https://programtom.com/dev/2023/06/25/complexities-beyond-algorithmic-time-on/ – with the very recent example.

  • What are ways to Optimize the backend endpoints in Spring Boot
  • Flutter image flickers
  • Could a Flutter App save a Flag even after uninstall
  • Could iOS flutter app logs be viewed while running in release mode – started after previous closed state
  • 6 Addictive Mobile Game Ideas Inspired by Flappy Bird’s Simplicity

Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (206)
  • Graphical User Interface (13)
  • Marketing (114)
  • Software Development (270)
  • Spring (43)
  • StartUp (21)
  • Uncategorized (4)
  • Uncategorized (15)
  • Vaadin (14)

Tags

Algorithms (9) crypto (29) flutterdev (39) General (86) Java (7) QR & Bar Codes (3) Software Dev Choices (33) Spring Boot (1) standards (1) Theme (3) User Authentication & Authorization (9) User Experience (10) Utilities (19) WordPress (11)

Product categories

  • All Technologies (83)
    • Flutter Apps (23)
    • GPT (4)
    • Java (38)
    • Native Android (3)
    • PHP (9)
    • Spring (Boot) / Quarkus (35)
    • Utils (15)
    • Vaadin 24+ (27)
    • Vaadin 8 (1)
  • Apps (18)
    • Employees DB (1)
    • Notes (6)
    • Personal Budget (1)
    • Recipes Book (1)
    • Stuff Organizer (1)
    • To-Do (2)
  • PDF Books (3)
  • Source Code Generators (8)

Recent Posts

  • What are ways to Optimize the backend endpoints in Spring Boot
  • Flutter image flickers
  • Could a Flutter App save a Flag even after uninstall
  • Could iOS flutter app logs be viewed while running in release mode – started after previous closed state
  • 6 Addictive Mobile Game Ideas Inspired by Flappy Bird’s Simplicity

Post Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (206)
  • Graphical User Interface (13)
  • Marketing (114)
  • Software Development (270)
  • Spring (43)
  • StartUp (21)
  • Uncategorized (4)
  • Uncategorized (15)
  • Vaadin (14)