<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Luca Eftimie</title>
    <description>The latest articles on DEV Community by Luca Eftimie (@luca_eftimie).</description>
    <link>https://dev.to/luca_eftimie</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4106234%2Ff022950a-6983-41ba-980c-c8446e248f64.png</url>
      <title>DEV Community: Luca Eftimie</title>
      <link>https://dev.to/luca_eftimie</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luca_eftimie"/>
    <language>en</language>
    <item>
      <title>Why do we need to learn DSA?</title>
      <dc:creator>Luca Eftimie</dc:creator>
      <pubDate>Wed, 02 Sep 2026 13:26:49 +0000</pubDate>
      <link>https://dev.to/luca_eftimie/why-do-we-need-to-learn-dsa-jf8</link>
      <guid>https://dev.to/luca_eftimie/why-do-we-need-to-learn-dsa-jf8</guid>
      <description>&lt;p&gt;Hi DEVCommunity,&lt;/p&gt;

&lt;p&gt;I don't have a formal education in computer science. In college I  studied a mix of coding, economics and maths. I learned basic concepts about programming in C, writing PL/SQL and R code. After I graduated, during the summer break, I wanted to focus my attention on low level programming. Until now, I build a linked list, a stack, a  min-heap and studied the algorithms for knapsack problem and Huffman encoding.&lt;/p&gt;

&lt;p&gt;I think it's an effective way of getting used to the programming environment. In addition, I noticed that my minds gets sharper and sharper with each passing day as long as I spend at least 2 hours on studying DSA.&lt;/p&gt;

&lt;p&gt;In the coming months, I plan to continue this project adding more algorithms and data structures to the repos I made. &lt;/p&gt;

&lt;p&gt;Luca&lt;/p&gt;

&lt;p&gt;These are the links for the repos: &lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/lucaeftimie" rel="noopener noreferrer"&gt;
        lucaeftimie
      &lt;/a&gt; / &lt;a href="https://github.com/lucaeftimie/Data_Structures" rel="noopener noreferrer"&gt;
        Data_Structures
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Small C implementations of classic data structures, built with dynamically allocated linked nodes.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Data structures&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Small C implementations of classic data structures, built with dynamically allocated linked nodes.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Contents&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;linkedlist.c&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A singly linked list supporting insertion (front, end, before/after a reference value, sorted), search, removal, sorting, reversal, and concatenating two lists.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;queue.c&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A FIFO queue (&lt;code&gt;enqueue&lt;/code&gt;/&lt;code&gt;dequeue&lt;/code&gt;) built on a linked list with &lt;code&gt;front&lt;/code&gt;/&lt;code&gt;rear&lt;/code&gt; pointers and O(1) operations.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;stack.c&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A LIFO stack (&lt;code&gt;push&lt;/code&gt;/&lt;code&gt;pop&lt;/code&gt;) built on a linked list.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;min_heap.c&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A priority queue (Min-Heap) flat array implementation guaranteeing O(log n) insertions and O(1) extractions.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;Each file is self-contained and includes its own &lt;code&gt;main()&lt;/code&gt; with example usage.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;linkedlist.c&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Key operations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;create_node&lt;/code&gt;, &lt;code&gt;add_node_at_the_front&lt;/code&gt;, &lt;code&gt;add_node_at_the_end&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;add_node_before_ref&lt;/code&gt; / &lt;code&gt;add_node_after_ref&lt;/code&gt; — insert relative to a value already in the list&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;add_node_sorted&lt;/code&gt;, &lt;code&gt;create_sorted_list&lt;/code&gt;, &lt;code&gt;sort_list&lt;/code&gt; — keep or make the list sorted&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;find_node&lt;/code&gt;, &lt;code&gt;get_length&lt;/code&gt;, &lt;code&gt;print_list&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;remove_node&lt;/code&gt;, &lt;code&gt;modify_node&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;reverse_list&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;concatenate_lists&lt;/code&gt; — join two lists…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/lucaeftimie/Data_Structures" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/lucaeftimie" rel="noopener noreferrer"&gt;
        lucaeftimie
      &lt;/a&gt; / &lt;a href="https://github.com/lucaeftimie/Algorithms" rel="noopener noreferrer"&gt;
        Algorithms
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Algorithms&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;This is a collection of algorithms which helps me learn about how to think logically and how to write code in C.&lt;br&gt;
Below you can see a contents table with the algorithms studied by me
I used Clion as a development tool, and compiled the code using the CMake build tool.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Contents&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Algorithm&lt;/th&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Time Complexity&lt;/th&gt;
&lt;th&gt;Space Complexity&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0/1 Knapsack&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/lucaeftimie/Algorithms/dynamic_programming/knapsack.c" rel="noopener noreferrer"&gt;&lt;code&gt;dynamic_programming/knapsack.c&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Dynamic Programming&lt;/td&gt;
&lt;td&gt;O(n × W)&lt;/td&gt;
&lt;td&gt;O(n × W)&lt;br&gt;O(W) - optimized version&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;|&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Structure&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Each algorithm is a standalone &lt;code&gt;.c&lt;/code&gt; file that can be compiled and run independently.&lt;br&gt;
The algorithms are organized in folders, based on programming techniques.&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;Algorithms/
├── dynamic_programming/
│   └── knapsack.c
│
├── greddy_algorithms/
│   └──
│
├── encoding_algorithms/
│    └── huffman_encoding.c
│
└── README.md
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Building and running&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Each file can be compiled individually with &lt;code&gt;gcc&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;gcc -o knapsack knapsack.c
./knapsack&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Or it can be built using CMake.&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;cmake commands that i don&lt;/pre&gt;…
&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/lucaeftimie/Algorithms" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


</description>
      <category>algorithms</category>
      <category>beginners</category>
      <category>computerscience</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
