9 Things You Should Practice for Logic Building
Tags: programming, slimcoder, logic
Published: 2020-02-06 15:10:48

---

firstPublishedAt: 1574530845512
latestPublishedAt: 1574531847620
slug: 9-things-you-should-practice-for-logic-building
title: 9 Things You Should Practice for Logic Building
tags: programming, slimcoder , logic
cover_image: https://cdn-images-1.medium.com/max/1536/1*FrfvIqxeCnqYoZTnr5w1oA.jpeg
published: true
---

When I started my journey as a Programmer in 2017 my mind was always stuck on the logic building part and it still does the same sometimes but not that much, But how it possible? It is possible because of practice.

When I started my first job I was working on a very complicated project which I started from stretch all the backend logics was built by me using Node JS. I learned a lot during that time but learning new technologies will not help you with the logic building but when I was writing code on that project I touch a few things from the list below without knowing it.

You should try and practice these things as soon as possible to improve problem-solving and logic building skills but first learn a programming language so that you will confident enough to work with all of these things because these things need basic programming knowledge of any language i.e JS, Java Python, etc just learn core for these things no frameworks/libraries are required.

1. **Data Structures:** A data structure is a data organization, management, and storage format that enables efficient access and modification i.e Linked List, Binary Search Tree, Hash Table, etc.

1. **Algorithms:** An algorithm is a step by step method of solving a problem i.e FizzBuzz, Fibonacci and there are a lot of algorithms even you can build your own but try to practice toughest algorithms.

1. **Design Patterns:** They are typical solutions to commonly occurring problems in software design.

1. **Programming Paradigms:** A programming paradigm is a style, or way, of programming i.e OOP, Functional, etc.

1. **Competitive Programming:** It is all about solving problems revolving around algorithms and data structures as quickly as possible. If you want to improve this skill then challenge yourself that you can write an algorithm in 1 minute and start your stopwatch and after 1 minute stop. if this is boring then try another way of doing it and the way is participating in any Speed Programming Competitions to improve this skill well, I’m not a competitive programmer but I will try to improve as much as I can.

1. **Mathematics:** Shit! I know but very compulsory for logic building.

1. **Recursive Programming:** It is a method where problems are solved by repeatedly calling a function on sub-instances of the problem.










1. **Dynamic Programming: **It\*\* \*\*is mainly an optimization over plain recursion.

1. **Refactoring: **Wait! what? I know you are thinking that how code refactoring can help you to improve your logic building skills. Now suppose if you wrote a recursive function with O(n²) complexity if you refactor that code and try to apply dynamic programming techniques so definitely you can improve the time complexity of your codebase. So always refactor your code.

Follow me AKA #slimcoder on [medium](https://medium.com/@vvkofficial) and [github](https://github.com/viveksharmaui) for more articles ❤