<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Eli Berman on Medium]]></title>
        <description><![CDATA[Stories by Eli Berman on Medium]]></description>
        <link>https://medium.com/@that-software-PM?source=rss-77f451b24269------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_EmxKmVgaTZx6m7CsqRCqA.jpeg</url>
            <title>Stories by Eli Berman on Medium</title>
            <link>https://medium.com/@that-software-PM?source=rss-77f451b24269------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:48:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@that-software-PM/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Depth-First Search (DFS) Algorithm]]></title>
            <link>https://medium.com/@that-software-PM/depth-first-search-dfs-algorithm-201dc95e524?source=rss-77f451b24269------2</link>
            <guid isPermaLink="false">https://medium.com/p/201dc95e524</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[depth-first-search]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Eli Berman]]></dc:creator>
            <pubDate>Sun, 15 Sep 2024 14:33:00 GMT</pubDate>
            <atom:updated>2024-09-15T14:34:13.998Z</atom:updated>
            <content:encoded><![CDATA[<p>In the world of algorithms and data structures, Depth-First Search (DFS) stands out as a fundamental and versatile algorithm. It is commonly used to find paths and cycles in graphs.</p><p>In this blog post, we’ll dive deep into the DFS algorithm, exploring its concepts, implementations, and real-world applications. By the end of this journey, you’ll have a solid understanding of DFS, with code examples and problem-solving insights.</p><h3>Understanding DFS</h3><p>At its core, DFS is a systematic exploration of a graph or tree data structure. Below is an example of a graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*jO0Kj8eImNbFROtKNiLaBA.png" /><figcaption>Image Source: LeetCode</figcaption></figure><p>The algorithm <strong>explores as far as possible along each branch before backtracking</strong>. This approach makes it an ideal choice for various tasks, including pathfinding, cycle detection, and more.</p><h4>How The DFS Process Works</h4><p><strong>1. Starting Point: </strong>DFS begins at a chosen starting node or vertex. This node is ‘marked’ as visited.</p><p><strong>2. Exploration: </strong>From the current node, DFS explores an unvisited neighboring node. It continues this process, recursively, until it reaches a node with no unvisited neighbors.</p><p><strong>3. Backtracking: </strong>When a dead-end is reached, DFS backtracks to the nearest <strong>unexplored </strong>node and repeats the process.</p><p><strong>4. Completing the Search: </strong>DFS continues until all nodes have been visited, or until a specific goal has been achieved.</p><blockquote><strong>Video walk-through:</strong> <a href="https://www.youtube.com/watch?v=Urx87-NMm6c">https://www.youtube.com/watch?v=Urx87-NMm6c</a></blockquote><h3>Code Implementation</h3><p>Now, let’s see how DFS can be implemented in code, using a simplified example of a graph represented as an adjacency list.</p><pre># DFS algorithm using recursion<br>def dfs(graph, node, visited):<br>    if node not in visited:<br>        print(node)<br>        visited.add(node)<br>        for neighbor in graph[node]:<br>            dfs(graph, neighbor, visited)</pre><p>In this code snippet, graph is a dictionary representing the adjacency list, node is the current node being explored, and visited is a set to keep track of visited nodes.</p><h3>Real-World Applications</h3><p>DFS has a wide range of applications in computer science and beyond. Here are a few real-world scenarios:</p><p><strong>1. Pathfinding Algorithms<br></strong>DFS can be used in pathfinding algorithms, such as <strong>finding the shortest path</strong> in a maze or <strong>determining connectivity</strong> in a network.</p><p><strong>2. Topological Sorting<br></strong>In directed acyclic graphs (DAGs), DFS can be <strong>used to perform topological sorting</strong>, which is crucial in scheduling and dependency management.</p><p><strong>3. Detecting Cycles<br></strong>DFS is effective in <strong>detecting cycles in graphs</strong>, a key component in deadlock detection and resource allocation.</p><h3>Example Problems</h3><p>Let’s solve a couple of problems to reinforce our understanding of DFS:</p><p><strong>Problem 1: Depth-First Search on a Binary Tree<br></strong>Given a binary tree, implement DFS to traverse and print all nodes in depth-first order.</p><pre>class TreeNode:<br>    def __init__(self, value):<br>        self.value = value<br>        self.left = None<br>        self.right = None<br><br>def dfs_binary_tree(node):<br>    if node:<br>        print(node.value)<br>        dfs_binary_tree(node.left)<br>        dfs_binary_tree(node.right)</pre><p><strong>Explanation:</strong></p><ul><li>In a depth-first traversal of a binary tree, we start at the root node and explore as far down the left subtree as possible before backtracking.</li><li>We print each visited node as we traverse it.</li><li>The algorithm is implemented as a recursive function dfs_binary_tree(node).</li><li>For each node, it prints the value of the node and then recursively calls itself on the left and right children of the current node.</li><li>This process continues until all nodes in the binary tree have been visited.</li></ul><p><strong>Example: </strong>Suppose we have the following binary tree:</p><pre>    1<br>   / \<br>  2   3<br> / \<br>4   5</pre><p>The depth-first traversal of this tree would yield the order: <br>1 -&gt; 2 -&gt; 4 -&gt; 5 -&gt; 3</p><p><strong>Problem 2: Detecting Cycles in a Graph<br></strong>Implement DFS to detect cycles in a directed graph.</p><pre>def has_cycle(graph):<br>    visited = set()<br>    rec_stack = set()<br><br>    def dfs(node):<br>        if node not in visited:<br>            visited.add(node)<br>            rec_stack.add(node)<br><br>            for neighbor in graph[node]:<br>                if neighbor not in visited:<br>                    if dfs(neighbor):<br>                        return True<br>                elif neighbor in rec_stack:<br>                    return True<br><br>            rec_stack.remove(node)<br>            return False<br><br>    for node in graph:<br>        if dfs(node):<br>            return True<br><br>    return False</pre><p><strong>Explanation:</strong></p><ul><li>Cycles in a directed graph occur when you can follow a path of edges and return to a node you’ve previously visited.</li><li>To detect cycles, we can use DFS with a twist.</li><li>We maintain two sets: visited and rec_stack. The visited set keeps track of nodes we&#39;ve visited during our traversal, while rec_stack keeps track of nodes that are currently part of our recursion stack.</li><li>When we visit a node:<br><strong>i.</strong> We add it to both the visited set and the rec_stack.<br><strong>ii.</strong> We recursively visit all of its neighbors.<br><strong>ii.</strong> If we encounter a neighbor that’s already in the rec_stack, it means we&#39;ve found a back edge, indicating a cycle.<br><strong>iv.</strong> After visiting all neighbors, we remove the node from the rec_stack.</li><li>We repeat this process for all nodes in the graph. If we encounter a back edge at any point, we return True to indicate the presence of a cycle; otherwise, we return False.</li></ul><p><strong>Example:</strong> Consider a graph with the following edges:</p><pre>0 -&gt; 1<br>1 -&gt; 2<br>2 -&gt; 3<br>3 -&gt; 0</pre><p>In this case, the DFS algorithm will detect a cycle because we can follow the edges from node 0 to 1, 1 to 2, 2 to 3, and then 3 back to 0, forming a cycle.</p><h3>Conclusion</h3><p>Depth-First Search is a powerful algorithm with a wide range of applications. It’s a fundamental tool in your algorithmic toolkit, and understanding its principles and implementations can greatly enhance your problem-solving skills. Whether you’re exploring a graph, solving a maze, or managing dependencies, DFS is a reliable companion on your journey through computer science and beyond.</p><p>👏👏👏<br>Good job for making it all the way through!<br>👏👏👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=201dc95e524" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dijkstra’s, QuickSort, and PageRank Algorithms]]></title>
            <link>https://medium.com/@that-software-PM/dijkstras-quicksort-and-pagerank-algorithms-392d9d56a038?source=rss-77f451b24269------2</link>
            <guid isPermaLink="false">https://medium.com/p/392d9d56a038</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[backend-development]]></category>
            <dc:creator><![CDATA[Eli Berman]]></dc:creator>
            <pubDate>Thu, 12 Sep 2024 10:57:59 GMT</pubDate>
            <atom:updated>2024-09-12T10:57:59.855Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EUBxMC2H-SBFZ2BYzgNayg.jpeg" /></figure><p>If you’re new to the concept of algorithms, check out my <a href="https://medium.com/@eliberman13/the-importance-of-algorithms-in-everyday-life-and-its-future-395ef6f00817">previous post</a> where I explore the significance of algorithms and how they impact various aspects of our day-to-day lives. In this quick read, we’ll dive deeper into some of the most prominent algorithms that all computer scientists and software developers should be familiar with — <strong>Dijkstra’s Algorithm</strong>, <strong>QuickSort</strong>, and the <strong>PageRank Algorithm</strong>. Together we’ll uncover how they work, where they’re applied, and provide real-world examples of each.</p><h4><strong>Dijkstra’s Algorithm: Finding the Shortest Path</strong></h4><p><strong>How It Works:</strong><br>Dijkstra’s algorithm is a method for finding the shortest path between nodes in a directed graph. It starts at a source node and explores neighboring nodes, keeping track of the shortest path to each node. The algorithm iteratively selects the node with the shortest distance and updates distances to its neighbors until it reaches the destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WftqUK0iym15-tu1SD1FjQ.png" /></figure><p>Dijkstra’s algorithm follows these steps:</p><ol><li>Initialize the source node to 0 and all other nodes to ∞. Start with node 0 as the “current node.”</li><li>Iterate over all neighboring nodes and update their values to the minimum of either its own value or the value of the current node plus its distance (or ‘weight’). Then label the current node as finished.</li><li>Assign the minimum-valued unfinished node as the current node.</li><li>Repeat steps 2 and 3 until all nodes are finished.</li></ol><p><strong>Applications:</strong><br> — GPS Navigation: Dijkstra’s Algorithm helps GPS devices find the quickest route from your current location to your destination.<br> — Network Routing: It’s used in computer networks to determine efficient paths for data transmission.<br> — Robotics: Robots use it to navigate through mazes or plan efficient paths in real-world environments.</p><p><strong>Example:</strong><br>Every time you use a navigation app such as Google Maps or Waze, it determines the shortest (or quickest) route from your location to the destination. These apps implement Dijkstra’s algorithm under the hood (pun intended) to iteratively calculate this path.</p><h4>QuickSort: The Swift Sorting Algorithm</h4><p><strong>How It Works:</strong><br>QuickSort is a divide-and-conquer sorting algorithm. It selects a “pivot” element from an array and partitions the array into two subarrays — one with elements less than the pivot and one with elements greater. It recursively sorts these subarrays and combines them to achieve a fully sorted array. This algorithm is used to find information, and since QuickSort is the fastest comparison-based sorting algorithm, it is frequently used as a more efficient search approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n04dsIfxfb-jxk5dfL_kBg.png" /></figure><p>The QuickSort algorithm follows these three steps:</p><ol><li>Pick<strong>: </strong>Select a pivot element.</li></ol><p>2.<strong> </strong>Divide<strong>:</strong> Split the problem set, move smaller parts to the left of the pivot and larger items to the right.</p><p>3. Repeat and combine: Repeat the steps and combine the arrays that have previously been sorted.</p><p><strong>Applications:</strong><br> — Data Sorting: QuickSort is widely used for sorting data in programming languages and databases.<br> — File Systems: File systems often use QuickSort to efficiently organize and manage directory structures and file lists. This allows for faster file retrieval and management. <br>— Computer Graphics: QuickSort is used in rendering engines to sort objects for efficient rendering.</p><p><strong>Example:</strong><br>When you sort a list of names alphabetically on your computer, QuickSort may be working behind the scenes to arrange them in order.</p><h4>PageRank Algorithm: The Web’s Ranking System</h4><p><strong>How It Works:</strong><br>PageRank is an algorithm developed by Google founders Larry Page and Sergey Brin. It assesses the importance of web pages based on their inbound links. Pages with more and higher-quality links are considered more important. PageRank employs a recursive formula to rank pages iteratively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*NqlBPvDN5nTsyRnGtb_Jig.png" /></figure><p><strong>Applications:</strong><br> — Web Search: PageRank is the foundation of Google’s search engine, helping it provide relevant search results.<br> — Recommendation Systems: It’s used in recommendation engines to suggest products, videos, or articles based on user preferences.<br> — Information Retrieval: PageRank helps retrieve relevant information from vast databases and the internet.</p><p><strong>Example:</strong><br>When you search for “best smartphone” on Google, the pages that appear at the top of the results list have higher PageRank scores, indicating their importance and relevance.</p><h3>Conclusion</h3><p>These three algorithms represent the power and versatility of algorithms in computer science. From finding the shortest path to sorting data efficiently and ranking web pages, these algorithms can be found everywhere in our digital lives. Just by digging a little deeper we see that these algorithms, conceptually, are quite simple! Understanding how they work allows us to appreciate the magic happening behind the scenes in the technology we use every day.</p><p>Do you think I missed something important?</p><p>Want me to break down another useful algorithm?</p><p>Let me know in the comments and <a href="https://medium.com/@eliberman13"><strong>follow</strong></a><strong> </strong>me for more interesting posts! <br>👏👏👏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=392d9d56a038" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unleashing the Power of a CS Degree on LeetCode]]></title>
            <link>https://medium.com/@that-software-PM/unleashing-the-power-of-a-cs-degree-on-leetcode-34a6f7afbca8?source=rss-77f451b24269------2</link>
            <guid isPermaLink="false">https://medium.com/p/34a6f7afbca8</guid>
            <category><![CDATA[studying]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[degree]]></category>
            <category><![CDATA[leetcode]]></category>
            <dc:creator><![CDATA[Eli Berman]]></dc:creator>
            <pubDate>Mon, 29 Jan 2024 16:36:24 GMT</pubDate>
            <atom:updated>2024-01-29T16:36:24.605Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*GRi3lKE8ED_Tfns2o2fkJw.jpeg" /></figure><h3>Foreword</h3><p>To begin with, I am writing this solely to demonstrate the strength of a CS degree. Although getting one is not necessary to becoming a developer, I’d like to instill confidence in those either starting now or considering it in the future. I am currently in my third year of a CS degree and have only recently started LeetCoding… <strong>So for someone who began this journey barely knowing what a for loop was, let me tell you, there is hope! </strong>(I also wrote about the things I didn’t effectively learn during my degree: <a href="https://medium.com/@eliberman13/things-they-dont-teach-you-in-a-cs-degree-d4ad61f442be">here</a>)</p><p>So let’s begin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*sp3OcPjgS_OkOkPT8A6p4Q.png" /></figure><p>LeetCode has become a household name for aspiring software engineers and programmers. <strong>It’s an online platform that offers a vast collection of coding challenges that test your problem-solving skills and coding prowess.</strong> Most developers know this as it is arguably the #1 source for interview practice.</p><p>As someone working towards the end of his CS degree, I’ve found that my academic journey has provided me with a <strong>solid foundation</strong> to tackle these challenges head-on. Below, I’ll share how my CS degree has equipped me with the skills and tools needed to excel on LeetCode — solving simple problems FAST and complex problems confidently.</p><h4>The Foundation of Logic and Algorithmic Thinking</h4><p>A CS degree serves as the cornerstone for logical thinking and algorithmic problem-solving. During the last 2 years, I’ve been introduced to fundamental concepts such as <strong>data structures, algorithms, and computational complexity</strong>. These concepts form the bedrock of computer science and are directly applicable to solving LeetCode problems!</p><p><strong>1.</strong> <strong>Data Structures:</strong> Such as queues, stacks, arrays, linked lists, trees, and graphs just to name a few. These data structures are crucial for efficiently storing and manipulating data, and <strong>they are often the building blocks of solutions to LeetCode problems</strong>.</p><p><strong>2. Algorithms:</strong> Such as basic sorting and searching algorithms to more advanced ones like dynamic programming and graph traversal. Understanding these algorithms helps me approach LeetCode problems with confidence, knowing that I have a toolbox of strategies to choose from and <strong>won’t need to conceive them on my own</strong> (very very difficult)!</p><p><strong>3. Computational Complexity:</strong> Complexity and Big O notation has taught me to appreciate efficiency. When solving LeetCode problems, I not only focus on finding a solution but also strive to <strong>optimize it to reduce time and space complexity</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*BnLi0eT0i_LX-AWD3LTDzw.png" /><figcaption>Data structures visualized</figcaption></figure><h4>The Importance of Problem Analysis</h4><p>One of the key takeaways from my CS degree is <strong>the ability to break down complex problems into manageable parts</strong>. This skill is critical when tackling LeetCode challenges, which often appear daunting at first glance. Here are two skills I’ve learned which help me solve coding problems:</p><p><strong>1. Problem Decomposition:</strong> Computer science courses emphasize breaking down complex problems into smaller, more manageable subproblems. This approach is directly applicable to LeetCode, where s<strong>olving one subproblem at a time can lead to a comprehensive solution</strong>.</p><p><em>Example:</em> Starting with base cases and simple ‘scenarios’, ideating a brute force method, then applying relevant data structures/algorithms to reduce effort, checking ‘edge’ cases, and so forth…</p><p><strong>2. Pattern Recognition:</strong> Throughout my degree, <strong>we have actually been exposed to many of the problems posted on LeetCode!</strong> So my ability to recognize patterns and similarities between problems is fairly good, given that they aren’t always new to me. LeetCode tends to recycles common patterns, and my CS education has helped me spot these similarities and apply relevant algorithms and data structures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-Wx4vbx0Wu-76WAXz-XWg.png" /><figcaption>Image Source: InterviewHelp</figcaption></figure><h4>Tools and Techniques</h4><p>Beyond theoretical knowledge, my CS degree has provided me with <strong><em>some</em></strong> practical programming skills that are helpful while LeetCoding.</p><p><strong>1. Programming Languages:</strong> CS programs typically cover a range of programming languages. This versatility <strong>allows me to choose the most appropriate language for each LeetCode problem</strong>, optimizing my code’s readability and performance. For example, I can confidently switch between Java, Python, and C — 3 powerful programming languages.</p><p><strong>2. Debugging and Testing:</strong> Learning to debug and test code effectively is a critical skill I acquired. It helps me identify and correct errors in my LeetCode solutions quickly, which can save me valuable time during competitions or interviews.</p><h3>Conclusion</h3><p>As someone who began this degree with <strong>no prior CS knowledge</strong>, it has without a doubt <strong>prepared me to succeed</strong> on platforms like LeetCode. The foundation in logical thinking, algorithmic problem-solving, and practical programming skills that I gained during my academic journey so far has given me a competitive edge in solving complex challenges.</p><p><strong>LeetCode may present a myriad of obstacles, but a CS degree alone is more than enough to confidently solve their problems.</strong></p><p>So, whether you’re a CS student, a seasoned programmer, or totally new to this realm, LeetCode can be a rewarding playground to apply and further enhance your problem-solving abilities. Embrace the challenges, keep learning, and watch yourself grow as a problem solver and programmer!</p><p>If you’re looking for more tips, insights, and explanations, follow me on <a href="https://medium.com/@eliberman13"><strong>Medium</strong></a><strong> </strong>or connect with me on <a href="https://www.linkedin.com/in/eli-berman/"><strong>LinkedIn</strong></a>.</p><p>Clap if you took something away from this post… and good luck studying!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34a6f7afbca8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things They Don’t Teach You in a CS Degree]]></title>
            <link>https://medium.com/@that-software-PM/things-they-dont-teach-you-in-a-cs-degree-d4ad61f442be?source=rss-77f451b24269------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4ad61f442be</guid>
            <category><![CDATA[real-world]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[computer-science-student]]></category>
            <category><![CDATA[must-know]]></category>
            <dc:creator><![CDATA[Eli Berman]]></dc:creator>
            <pubDate>Mon, 15 Jan 2024 16:12:53 GMT</pubDate>
            <atom:updated>2024-01-15T17:45:21.142Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*H12cP5EoNu0BP0HZmNN_qQ.jpeg" /><figcaption>Image Source: imgflip.com</figcaption></figure><p>A computer science degree is a fantastic — and often crucial — gateway to the world of technology and coding, offering you a solid foundation in algorithms, data structures and software engineering principles. However, there are critical skills and insights that often fall outside the curriculum. In this blog post, we’ll delve into three essential topics that you might not learn in your CS degree but are crucial for a successful career in programming.</p><h4>1. Differences in Coding Languages</h4><p>While a computer science degree may introduce you to multiple programming languages (such as Java, C and Python), it often focuses more on theory and application than the rich history and nuances of coding languages. Understanding the evolution of languages and their fundamental differences will greatly enhance your coding skills.</p><p>It might not always be the case that you should design a project using Java since you are most familiar with that language. Imagine you are building a website. In that case, it may be better to use CSS or HTML for the frontend development as these languages are designed for this purpose!</p><p><strong>Why it Matters:</strong><br> <strong>— Context:</strong> Knowing the historical context in which a language was created can provide insights into its design and intended use cases.<br><strong> — Choosing the Right Tool:</strong> Each language has its strengths and weaknesses. Understanding these can help you select the most appropriate language for a specific project.<br><strong> — Adaptability:</strong> Knowing multiple languages makes it easier to switch between them and adapt to the requirements of different projects.</p><p>Here’s a great source that breaks down the language development history and provides in depth explanations for many popular programming languages:</p><blockquote><a href="https://www.hp.com/us-en/shop/tech-takes/computer-history-programming-languages">https://www.hp.com/us-en/shop/tech-takes/computer-history-programming-languages</a></blockquote><h4>2. Test Code Early and Often (Debugging)</h4><p>One of the key lessons that I, as well as most of my peers, learned while programming is the importance of testing code continuously throughout the development process. While CS programs and degrees emphasize writing code, they may not stress the significance of robust testing and debugging. My tip here is to learn and practice good testing methodologies as a preemptive measure to reduce the need to debug!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*sCz_Q9EB3oR-cTkYsHLk1g.jpeg" /></figure><p><strong>Why it Matters:</strong><br><strong> — Bug Prevention: </strong>Testing identifies and eliminates bugs and issues early in the development cycle, saving time and resources. (More on this below!)<br> — <strong>Real-World Experience: </strong>Debugging is a substantial part of a programmer’s daily life. Practical experience in identifying and resolving issues is invaluable.<br><strong> — Efficiency: </strong>Skilled debugging can save countless hours that would otherwise be spent on trial and error.<br><strong> — Confidence: </strong>Comprehensive test suites provide confidence that changes and updates won’t break existing functionality.<br><strong> — Best Practices:</strong> Learning testing frameworks and methodologies is a valuable skill that sets you apart as a professional developer.</p><p>If you’d like to learn specific tools to help hone your debugging skills, check out this video below:</p><blockquote>Be a Better Programmer By Mastering Debugging — <a href="https://www.youtube.com/watch?v=DQEVZ5efnO0">https://www.youtube.com/watch?v=DQEVZ5efnO0</a></blockquote><h4>3. Practical Software Development Practices</h4><p>In real-world coding, it’s not just about writing efficient algorithms; it’s about collaboration, efficiency, and maintaining code quality.</p><p>Version control systems like Git enable multiple developers to work on a project simultaneously without chaos. Code reviews become essential for catching bugs and improving code readability. Testing strategies, from unit tests to end-to-end tests, ensure that your code works as intended, preventing headaches down the road. These real-world practices aren’t just about coding; they’re about ensuring the reliability and maintainability of software throughout its lifecycle.</p><p><strong>Why it Matters:<br> — Team Collaboration:</strong> Learning to collaborate using version control and code reviews is crucial for working efficiently in a team, avoiding conflicts, and maintaining code quality.<br> — <strong>Quality Assurance:</strong> Implementing testing strategies ensures that your code meets quality standards, reducing the likelihood of bugs and enhancing the robustness of your software.<br><strong> — Automation: </strong>Embracing continuous integration / continuous delivery practices helps automate repetitive tasks, making the development process more efficient and allowing developers to focus on creative problem-solving.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pghkUoKmbXaETnBmqUSowA.png" /></figure><h3>Conclusion</h3><p>You must remember that a computer science degree is not designed to turn you into a well-rounded, knowledgable programmer. Rather, it is designed to lay a strong foundation for a career in programming and technology. Hence, there are essential skills and insights that extend beyond the classroom. Understanding the history and differences in coding languages, procedures to testing code thoroughly and practical software development practices are crucial steps on your journey to becoming a proficient and successful developer. These skills not only make you a better programmer but also prepare you for the challenges and opportunities that await you in the real world of software development.</p><p>What are some of the challenges that you faced as a computer science student turned developer? What did you feel was missing in your education? Rather, what unexpected obstacles did you face as a new software developer and how did you overcome them?</p><p>I hope these tips were useful… and good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4ad61f442be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Are Algorithms?]]></title>
            <link>https://medium.com/@that-software-PM/what-are-algorithms-395ef6f00817?source=rss-77f451b24269------2</link>
            <guid isPermaLink="false">https://medium.com/p/395ef6f00817</guid>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[search-engines]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Eli Berman]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 17:18:12 GMT</pubDate>
            <atom:updated>2023-09-26T17:18:12.547Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*Ra7q9EiDEHH4fnb6RlMiEQ@2x.jpeg" /><figcaption>Image Source: AutoEvolution</figcaption></figure><p>Whether we realize it or not, algorithms have become an integral part of our daily lives, often working clandestinely to help us make decisions, find information, and streamline processes. In this post, we’ll explore the significance of algorithms and how they impact various aspects of our day-to-day lives.</p><h4><strong>What Are Algorithms?</strong></h4><p>Before delving into their significance, let’s define what algorithms are. Simply put, an algorithm is a step-by-step set of instructions designed to solve a particular problem or perform a specific task. They can be found in various forms, from simple recipes to complex mathematical formulas.</p><p>Here is an example of a very simple ‘algorithm’ that we have all used before: Preparing a sandwich!</p><p>The ‘algorithm’ may go as follows:</p><ol><li>Buy the ingredients</li><li>Prepare the workspace and place 2 slices of bread</li><li>Add each component one by one</li><li>Serve and eat!</li></ol><p>Clearly, we use very simple algorithms every day to help us navigate and complete different tasks. In the following sections, we will discover more complex uses of algorithms in various fields of technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*SbkyekDc40oDV5kjxYbHJg@2x.jpeg" /><figcaption>Image Source: Onely</figcaption></figure><h4><strong>Algorithms in Search Engines</strong></h4><p>One of the most prominent examples of algorithms at work is in search engines like Google. Google’s search algorithm, for instance, uses a multitude of factors to determine the most relevant results for your query. It takes into account factors like keyword relevance, user location, and the quality of web pages to deliver a list of results that best match your search.</p><blockquote><strong>Reference: [</strong><a href="https://www.google.com/search/howsearchworks/"><strong>How Google Search Works</strong></a><strong>]</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*LhHzU58LCJzYYZqITIQDnQ@2x.jpeg" /><figcaption>Image Source: QuickFrame</figcaption></figure><h4><strong>Algorithms in Social Media</strong></h4><p>Social media platforms such as Facebook and Instagram use algorithms to curate the content you see on your feed. These algorithms analyze your past interactions and preferences to determine which posts are most likely to engage you.</p><blockquote><strong>Reference: [</strong><a href="https://tinuiti.com/blog/paid-social/facebook-algorithm/#:~:text=The%20Facebook%20algorithm%20is%20the,to%20a%20set%20of%20criteria."><strong>How Facebook’s News Feed Algorithm Works</strong></a><strong>]</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*B_P8jWHsgCw_amukHGKZAg@2x.jpeg" /><figcaption>Image Source: LinkedIn</figcaption></figure><h4><strong>Algorithms in Healthcare</strong></h4><p>Algorithms play a vital role in the healthcare sector. They help in medical diagnoses, treatment planning, and even predicting disease outbreaks. Machine learning algorithms, for instance, can analyze patient data to identify patterns and make accurate predictions such as death and suicide risks.</p><blockquote><strong>Reference: [</strong><a href="https://www.forbes.com/sites/bernardmarr/2022/09/14/how-ai-and-machine-learning-will-impact-the-future-of-healthcare/?sh=7415f57147e5"><strong>How AI and Machine Learning Are Transforming Healthcare</strong></a><strong>]</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*j8ACuSvVyeEV-Iuy8M5X_g@2x.jpeg" /><figcaption>Image Source: SAAS</figcaption></figure><h4><strong>Algorithms in Finance</strong></h4><p>In the world of finance, algorithms are used for high-frequency trading, risk assessment, and fraud detection. These algorithms process vast amounts of data in real-time to make split-second decisions.</p><blockquote><strong>Reference: [</strong><a href="https://www.investopedia.com/terms/a/algorithmictrading.asp"><strong>Algorithmic Trading Strategies</strong></a><strong>]</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*cs9zfUdc08WmaSgRJ6wpDw.png" /><figcaption>Image Source: Freepik</figcaption></figure><h3><strong>Conclusion</strong></h3><p>So, whether we do in fact notice them or not, algorithms are truly the unsung heroes of the digital age. They impact our lives in ways we may not even realize, from the search results we receive to the content we see on social media. Now this begs the question:</p><p>Are there limits to what algorithms can achieve, or can they potentially solve every problem if given enough time and computational resources?</p><p>As a current computer science student (at the time of writing), we continuously attempt to challenge this question. On one hand, it seems that there must be some glass ceiling or limitation (such as Alan Turing’s <a href="https://www.youtube.com/watch?v=VyHbd6sx5Po"><strong>Halting Problem</strong></a>). While on the other hand, new technologies such as machine learning, AI and quantum computing hold the promise of solving problems that are currently considered computationally intractable!</p><p>In the next post, we will dive deeper into 3 specific algorithms by breaking down how they work and their unique applications. Let me know whether you believe there are limits to what algorithms can achieve!</p><p>Follow me on <a href="https://medium.com/@eliberman13"><strong>Medium</strong></a> and connect with me on <a href="https://www.linkedin.com/in/eli-berman/"><strong>LinkedIn</strong></a> — I’ll be posting new blogs every month :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=395ef6f00817" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>