<?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 Bilawal Liaqat on Medium]]></title>
        <description><![CDATA[Stories by Bilawal Liaqat on Medium]]></description>
        <link>https://medium.com/@bilawalliaqat?source=rss-3ab131d87b96------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Q1ArvVVUBkmGMBi0GoTIRg.jpeg</url>
            <title>Stories by Bilawal Liaqat on Medium</title>
            <link>https://medium.com/@bilawalliaqat?source=rss-3ab131d87b96------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 22:55:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bilawalliaqat/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[The Magic of Three Words]]></title>
            <link>https://medium.com/@bilawalliaqat/the-magic-of-three-words-9e52645896d9?source=rss-3ab131d87b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e52645896d9</guid>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Bilawal Liaqat]]></dc:creator>
            <pubDate>Mon, 18 Feb 2019 11:58:14 GMT</pubDate>
            <atom:updated>2019-02-18T12:27:28.261Z</atom:updated>
            <content:encoded><![CDATA[<p>The Magic of these 3 Words has always helped me: <strong>“Okay…now what?”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*P8ltlj3nJvHGmUrg" /></figure><p>They may seem like 3 completely innocent and simple words but that’s exactly why they are so beautiful together:</p><p><em>They get right to the core!</em></p><p><strong>Acceptance → Presence → Action</strong></p><p>That is what they represent and each of these parts is something most of us miss as we go through in our daily lives. A large part of negativity and unproductivity first comes from our lack of accepting the negative things in our lives. We think everything is going great, tell ourselves we are fine and ignore the facts. <em>We ignore the problems because we interpret too much into them.</em></p><p>Accepting the problem does nothing more than acknowledging it exists. It does not require you to take any action, does not beget any more problems and does not lead to anything. Acceptance is just acceptance.</p><p>When we don’t accept the problems or difficulties in our life, we only rob ourselves of the option to deal with the <em>real</em> issue. To fix anything that’s broken you have to accept it’s broken first.</p><p>You wouldn’t go to a doctor if you didn’t think your leg was broken and the same way you will not work on what you do not accept needs work.</p><p><strong>If something is going wrong in your life, if you are not happy, not fulfilled or not where you want to be; <em>Accept it first!</em></strong></p><p>Once you accept you have a problem you also must accept that this is a problem you have <em>now. </em>It’s not something that will go away by wishing you could have changed the past, and won’t be something that goes away by you trying to deal with it tomorrow.</p><p><strong>Pushing your problems to the past or the future is just another way to not accept them!</strong></p><p>It’s <em>NOW</em> that you can do something about it and <em>only </em><strong><em>now</em></strong><em>!</em></p><p>Yesterday is gone already and tomorrow won’t come to pass the way you think it will. You have to take action <strong>now. </strong>Once you are present in the now it’s time to stop thinking and time to <em>act. </em>What do you do about all of this? This happened. You cannot change that fact anymore. So what will you do <em>now</em> to solve it?</p><p><strong>What is the one step you can take? Where do you begin? <em>What now?</em></strong></p><p>You can stay stuck in your negativity as long as you like.</p><p><strong>But if you want to move past it then use this trick.</strong></p><p>Accept what’s going on, accept that you cannot change it from having happened and that you can only change it now.</p><p>And then, do something about it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e52645896d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algorithms and data structures any software engineer should know]]></title>
            <link>https://medium.com/@bilawalliaqat/algorithms-and-data-structures-any-software-engineer-should-know-4ed5e02a03af?source=rss-3ab131d87b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ed5e02a03af</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[linear-data-structure]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Bilawal Liaqat]]></dc:creator>
            <pubDate>Mon, 18 Feb 2019 10:51:58 GMT</pubDate>
            <atom:updated>2019-02-18T10:51:58.205Z</atom:updated>
            <content:encoded><![CDATA[<p>Lets try to categorize the algorithms in 7 broad categories.</p><p>But first, learning such a small subset(only 10!) will do no good. The more you learn, the more you will stand out from the crowd. Learning and visualizing algorithms will change the way you tackle real life situation, you will always start looking for an optimized way to do things. And that’s great, that’s what smart people are — LAZY, yes, they always try to do more work with minimal effort and that’s optimization.</p><p>Start developing algorithmic thinking by visualizing algorithms.</p><p>This is what I will recommend <a href="http://www.ideserve.co.in/">IDeserve</a></p><p>It’s a cool platform where you can visualize the algorithms and data structures within it.</p><p>I feel it is largest source for algorithms which you can visualize. Its pretty cool to see algorithms being executed and animated on the fly.</p><p>Coming back to categorizing algorithms into 10 broad categories…phew…now this will take time.</p><p><strong>1: Sorting Algorithms</strong></p><p>Sorting Algorithm — Bubble Sort (<a href="http://www.ideserve.co.in/learn/bubble-sort">Sorting Algorithm — Bubble Sort</a>)</p><p>Sorting Algorithm — Selection Sort (<a href="http://www.ideserve.co.in/learn/selection-sort">Sorting Algorithm — Selection Sort</a>)</p><p>Sorting Algorithm — Insertion Sort (<a href="http://www.ideserve.co.in/learn/insertion-sort">Sorting Algorithm — Insertion Sort</a>)</p><p>Sorting Algorithm — Heap Sort (<a href="http://www.ideserve.co.in/learn/heap-sort">Sorting Algorithm — Heap Sort</a>)</p><p>Sorting Algorithm — Merge Sort (<a href="http://www.ideserve.co.in/learn/merge-sort">Sorting Algorithm — Merge Sort</a>)</p><p>Pancake Sorting (<a href="http://www.ideserve.co.in/learn/pancake-sorting">Pancake Sorting</a>)</p><p><strong>2: Algorithms on Linked Lists</strong></p><p>Reverse a Linked List — Iterative (<a href="http://www.ideserve.co.in/learn/reverse-a-linked-list-iterative">Reverse a Linked List — Iterative</a>)</p><p>Reverse a Linked List — Recursive (<a href="http://www.ideserve.co.in/learn/reverse-a-linked-list-recursive">Reverse a Linked List — Recursive</a>)</p><p>Merge two sorted linked lists (<a href="http://www.ideserve.co.in/learn/merge-two-sorted-linked-lists">Merge two sorted linked lists</a>)</p><p>Find intersection of two Linked Lists (<a href="http://www.ideserve.co.in/learn/find-intersection-of-two-linked-lists">Find intersection of two Linked Lists</a>)</p><p>Find intersection of two Linked Lists — O(m + n) Time Complexity and O(1) Space Complexity (<a href="http://www.ideserve.co.in/learn/find-intersection-of-two-linked-lists-constant-space">Find intersection of two Linked Lists — O(m + n) Time Complexity and O(1) Space Complexity</a>)</p><p>Detect a loop in a linked list and find the node where the loop starts. (<a href="http://www.ideserve.co.in/learn/detect-a-loop-in-a-linked-list">Detect a loop in a linked list and find the node where the loop starts.</a>)</p><p>Convert a binary tree to doubly linked list (<a href="http://www.ideserve.co.in/learn/convert-a-binary-tree-to-doubly-linked-list">Convert a binary tree to doubly linked list</a>)</p><p>Convert a sorted Doubly Linked List to Balanced Binary Search Tree (<a href="http://www.ideserve.co.in/learn/convert-a-sorted-doubly-linked-list-to-balanced-binary-search-tree-bst">Convert a sorted Doubly Linked List to Balanced Binary Search Tree</a>)</p><p>LRU Cache Implementation (<a href="http://www.ideserve.co.in/learn/lru-cache-implementation">LRU Cache Implementation</a>)</p><p><strong>3: Algorithms on Arrays</strong></p><p>Count frequencies of array elements in range 1 to n (<a href="http://www.ideserve.co.in/learn/count-frequencies-of-array-elements">Count frequencies of array elements in range 1 to n</a>)</p><p>Find all permutations of a String (<a href="http://www.ideserve.co.in/learn/all-permutations-of-a-string">Find all permutations of a String</a>)</p><p>Binary Search in a Sorted Array (<a href="http://www.ideserve.co.in/learn/binary-search-in-a-sorted-array">Binary Search in a Sorted Array</a>)</p><p>Leaders in an array (<a href="http://www.ideserve.co.in/learn/leaders-in-an-array">Leaders in an array</a>)</p><p>Find a Peak Element in an array (<a href="http://www.ideserve.co.in/learn/find-a-peak-element-in-an-array">Find a Peak Element in an array</a>)</p><p>Find pivot in a sorted rotated array (<a href="http://www.ideserve.co.in/learn/find-pivot-in-a-sorted-rotated-array">Find pivot in a sorted rotated array</a>)</p><p>Find an element in a sorted rotated array (<a href="http://www.ideserve.co.in/learn/find-an-element-in-a-sorted-rotated-array">Find an element in a sorted rotated array</a>)</p><p>Find element in sorted rotated array without finding pivot (<a href="http://www.ideserve.co.in/learn/find-an-element-in-a-sorted-rotated-array-without-finding-pivot">Find element in sorted rotated array without finding pivot</a>)</p><p>Find duplicates in an integer array (<a href="http://www.ideserve.co.in/learn/find-duplicates-in-an-array">Find duplicates in an integer array</a>)</p><p>Maximum average subarray (<a href="http://www.ideserve.co.in/learn/maximum-average-subarray">Maximum average subarray</a>)</p><p>Maximum subarray sum (<a href="http://www.ideserve.co.in/learn/maximum-subarray-sum">Maximum subarray sum</a>)</p><p>Next greater element in an array (<a href="http://www.ideserve.co.in/learn/next-great-element-in-an-array">Next greater element in an array</a>)</p><p>Fibonacci Number (<a href="http://www.ideserve.co.in/learn/nth-fibonacci-number">Fibonacci Number</a>)</p><p>Rotate an Array (<a href="http://www.ideserve.co.in/learn/rotate-an-array">Rotate an Array</a>)</p><p>Find Majority Element in an Array (<a href="http://www.ideserve.co.in/learn/find-majority-element-in-an-array">Find Majority Element in an Array</a>)</p><p>Find median of two sorted arrays (<a href="http://www.ideserve.co.in/learn/find-median-of-two-sorted-arrays">Find median of two sorted arrays</a>)</p><p>First non-repeating character in a string (<a href="http://www.ideserve.co.in/learn/first-non-repeating-character-in-a-string">First non-repeating character in a string</a>)</p><p>Re-arrange elements in an array to put positive and negative elements in alternate order (<a href="http://www.ideserve.co.in/learn/re-arrange-elements-to-put-positive-negative-elements-in-alternate-order">Re-arrange elements in an array to put positive and negative elements in alternate order</a>)</p><p>Find the next greater number using same digits (<a href="http://www.ideserve.co.in/learn/next-greater-number-using-same-digits">Find the next greater number using same digits</a>)</p><p>Longest Substring with non-Repeating Characters (<a href="http://www.ideserve.co.in/learn/longest-substring-with-non-repeating-characters">Longest Substring with non-Repeating Characters</a>)</p><p>Given an array with all distinct elements, find the length of the longest sub-array which has elements(not in any particular order) that could form a contiguous sequence (<a href="http://www.ideserve.co.in/learn/length-longest-sub-array-with-elements-contiguous-sequence">Given an array with all distinct elements, find the length of the longest sub-array which has elements(not in any particular order) that could form a contiguous sequence</a>)</p><p>Find minimum cost path in a matrix (<a href="http://www.ideserve.co.in/learn/minimum-cost-path">Find minimum cost path in a matrix</a>)</p><p>Find the length of longest increasing subsequence in an array (<a href="http://www.ideserve.co.in/learn/longest-increasing-subsequence">Find the length of longest increasing subsequence in an array</a>)</p><p>Find the longest increasing subsequence in an array O(n logn) (<a href="http://www.ideserve.co.in/learn/longest-increasing-subsequence-nlogn">Longest Increasing Subsequence O(n logn)</a>)</p><p>Find the length of longest bitonic subsequence in an array (<a href="http://www.ideserve.co.in/learn/length-of-longest-bitonic-subsequence-in-an-array">Find the length of longest bitonic subsequence in an array</a>)</p><p>Find total number of ways to make change using given set of coins (<a href="http://www.ideserve.co.in/learn/coin-change-problem-number-of-ways-to-make-change">Find total number of ways to make change using given set of coins</a>)</p><p>Minimum number of coins to make change (<a href="http://www.ideserve.co.in/learn/minimum-number-of-coins-to-make-change">Minimum number of coins to make change</a>)</p><p>Count all possible decodings of a given digit sequence — (<a href="http://www.ideserve.co.in/learn/count-possible-decodings-of-a-given-digit-sequence">Count all possible decodings of a given digit sequence</a>)</p><p>Find increasing sub-sequence of length three having maximum product (<a href="http://www.ideserve.co.in/learn/increasing-subsequence-of-length-three-for-maximum-product">Find increasing sub-sequence of length three having maximum product</a>)</p><p>Find increasing sub-sequence of length three having maximum product | Optimized approach (<a href="http://www.ideserve.co.in/learn/increasing-subsequence-of-length-three-for-maximum-product-optimized">Find increasing sub-sequence of length three having maximum product | Optimized approach</a>)</p><p>Find index of 0 to replace to get longest continuous sequence of 1s (<a href="http://www.ideserve.co.in/learn/index-of-0-replacing-with-1-results-in-longest-continuous-1s-sequence">Find index of 0 to replace to get longest continuous sequence of 1s</a>)</p><p>O(n) time approach to find index of 0 to replace to get longest continuous sequence of 1s (<a href="http://www.ideserve.co.in/learn/index-of-0-replacing-with-1-results-in-longest-continuous-1s-sequence-linear-time">O(n) time approach to find index of 0 to replace to get longest continuous sequence of 1s</a>)</p><p>Find an integer array corresponding to the string specifying increase-decrease transitions (<a href="http://www.ideserve.co.in/learn/integer-array-corresponding-to-increase-decrease-sequence">Find an integer array corresponding to the string specifying increase-decrease transitions</a>)</p><p>Given an array with all distinct elements, find the length of the longest sub-array which has elements(not in any particular order) that could form a contiguous sequence (<a href="http://www.ideserve.co.in/learn/length-longest-sub-array-with-elements-contiguous-sequence">Given an array with all distinct elements, find the length of the longest sub-array which has elements(not in any particular order) that could form a contiguous sequence</a>)</p><p>Merge two sorted arrays without using extra space (<a href="http://www.ideserve.co.in/learn/merge-two-sorted-arrays-without-extra-space">Merge two sorted arrays without using extra space</a>)</p><p>0–1 Knapsack Problem (<a href="http://www.ideserve.co.in/learn/dynamic-programming-0-1-knapsack-problem">0–1 Knapsack Problem</a>)</p><p>The Skyline Problem (<a href="http://www.ideserve.co.in/learn/the-skyline-problem">The Skyline Problem</a>)</p><p>Search a sorted matrix (<a href="http://www.ideserve.co.in/learn/search-a-sorted-matrix">Search a sorted matrix</a>)</p><p>Buy and sell stocks — 1 (<a href="http://www.ideserve.co.in/learn/buy-and-sell-stock-part-one">Buy and sell stocks — 1</a>)</p><p>Buy and sell stocks — 2 (<a href="http://www.ideserve.co.in/learn/buy-and-sell-stocks-part-two">Buy and sell stocks — 2</a>)</p><p>Gold Mine Problem (<a href="http://www.ideserve.co.in/learn/gold-mine-problem">Gold Mine Problem</a>)</p><p>Distribute Chocolates Problem (<a href="http://www.ideserve.co.in/learn/distribute-chocolates-problem">Distribute Chocolates Problem</a>)</p><p>Trapping Rain Water between Towers (<a href="http://www.ideserve.co.in/learn/trapping-rain-water-between-towers">Trapping Rain Water between Towers</a>)</p><p>Find Minimum Length Sub Array With Sum K (<a href="http://www.ideserve.co.in/learn/find-minimum-length-sub-array-with-sum-k">Find Minimum Length Sub Array With Sum K</a>)</p><p><strong>4: Algorithms on Trees</strong></p><p>Check if a binary tree is a binary search tree (<a href="http://www.ideserve.co.in/learn/check-if-a-binary-tree-is-a-binary-search-tree">Check if a binary tree is a binary search tree</a>)</p><p>Check if two nodes are cousins in a Binary tree (<a href="http://www.ideserve.co.in/learn/check-if-two-nodes-are-cousins-binary-tree">Check if two nodes are cousins in a Binary tree</a>)</p><p>Remove all nodes which lie on path having sum less than k (<a href="http://www.ideserve.co.in/learn/remove-all-nodes-which-lie-on-path-having-sum-less-than-k">Remove all nodes which lie on path having sum less than k</a>)</p><p>Binary Search tree | Insertion and Search (<a href="http://www.ideserve.co.in/learn/binary-search-tree-insertion">Binary Search tree | Insertion and Search</a>)</p><p>Binary Search tree | Deletion (<a href="http://www.ideserve.co.in/learn/binary-search-tree-delete">Binary Search tree | Deletion</a>)</p><p>Binary Tree Level Order Traversal (<a href="http://www.ideserve.co.in/learn/binary-tree-level-order-traversal">Binary Tree Level Order Traversal</a>)</p><p>Print bottom view of a binary tree (<a href="http://www.ideserve.co.in/learn/bottom-view-of-a-binary-tree">Print bottom view of a binary tree</a>)</p><p>Print bottom view of a binary tree using level order traversal (<a href="http://www.ideserve.co.in/learn/bottom-view-of-a-binary-tree-using-level-order-traversal">Print bottom view of a binary tree using level order traversal</a>)</p><p>Check if a binary tree is balanced or not (<a href="http://www.ideserve.co.in/learn/check-if-a-binary-tree-is-balanced">Check if a binary tree is balanced or not</a>)</p><p>Check if a binary tree is sub-tree of another binary tree in space O(1) (<a href="http://www.ideserve.co.in/learn/check-if-a-binary-tree-is-subtree-of-another-binary-tree-space-optimized">Check if a binary tree is sub-tree of another binary tree in space O(1)</a>)</p><p>Check if a binary tree is sub-tree of another binary tree in time O(n) (<a href="http://www.ideserve.co.in/learn/check-if-a-binary-tree-is-subtree-of-another-binary-tree-time-optimized">Check if a binary tree is sub-tree of another binary tree in time O(n)</a>)</p><p>Check if all internal nodes of BST have only one child without building tree (<a href="http://www.ideserve.co.in/learn/check-if-all-internal-nodes-have-one-child-bst-without-building-tree">Check if all internal nodes of BST have only one child without building tree</a>)</p><p>Check if a given binary tree is symmetric tree or not (<a href="http://www.ideserve.co.in/learn/check-if-binary-tree-is-symmetric-tree">Check if a given binary tree is symmetric tree or not</a>)</p><p>Check if two binary search trees are identical given their array representations (<a href="http://www.ideserve.co.in/learn/check-if-identical-binary-search-trees-without-building-them-set-1">Check if two binary search trees are identical given their array representations</a>)</p><p>Check if two binary search trees are identical given their array representations | Set 2 (<a href="http://www.ideserve.co.in/learn/check-if-identical-binary-search-trees-without-building-them-set-2">Check if two binary search trees are identical given their array representations | Set 2</a>)</p><p>Check if the given n-ary tree is symmetric tree or not (<a href="http://www.ideserve.co.in/learn/check-if-n-ary-tree-is-symmetric-tree">Check if the given n-ary tree is symmetric tree or not</a>)</p><p>Check if two binary trees are identical (<a href="http://www.ideserve.co.in/learn/check-if-two-binary-trees-are-identical">Check if two binary trees are identical</a>)</p><p>Convert a binary tree to doubly linked list (<a href="http://www.ideserve.co.in/learn/convert-a-binary-tree-to-doubly-linked-list">Convert a binary tree to doubly linked list</a>)</p><p>Convert a sorted Doubly Linked List to Balanced Binary Search Tree (<a href="http://www.ideserve.co.in/learn/convert-a-sorted-doubly-linked-list-to-balanced-binary-search-tree-bst">Convert a sorted Doubly Linked List to Balanced Binary Search Tree</a>)</p><p>Create a balanced Binary Search Tree from a sorted array (<a href="http://www.ideserve.co.in/learn/create-a-balanced-bst-from-a-sorted-array">Create a balanced Binary Search Tree from a sorted array</a>)</p><p>Check whether a binary tree is complete or not (<a href="http://www.ideserve.co.in/learn/check-whether-binary-tree-is-complete-tree-or-not">Check whether a binary tree is complete or not</a>)</p><p>Check whether a binary tree is a full binary tree or not (<a href="http://www.ideserve.co.in/learn/check-whether-binary-tree-is-full-binary-tree-or-not">Check whether a binary tree is a full binary tree or not</a>)</p><p>Construct binary tree from inorder and postorder traversals (<a href="http://www.ideserve.co.in/learn/construct-binary-tree-from-inorder-and-postorder-traversals">Construct binary tree from inorder and postorder traversals</a>)</p><p>Construct binary tree from inorder and preorder traversals (<a href="http://www.ideserve.co.in/learn/construct-binary-tree-from-inorder-and-preorder-traversals">Construct binary tree from inorder and preorder traversals</a>)</p><p>Construct the binary tree from its parent array representation (<a href="http://www.ideserve.co.in/learn/construct-binary-tree-from-parent-array">Construct the binary tree from its parent array representation</a>)</p><p>AVL tree | Basics (<a href="http://www.ideserve.co.in/learn/avl-tree">AVL tree | Basics</a>)</p><p>AVL tree | Insertion (<a href="http://www.ideserve.co.in/learn/avl-tree-insertion">AVL tree | Insertion</a>)</p><p>AVL tree | Deletion (<a href="http://www.ideserve.co.in/learn/avl-tree-deletion">AVL tree | Deletion</a>)</p><p>Convert binary tree to binary search tree (<a href="http://www.ideserve.co.in/learn/convert-binary-tree-to-binary-search-tree">Convert binary tree to binary search tree</a>)</p><p>Find depth of deepest odd level leaf node (<a href="http://www.ideserve.co.in/learn/depth-of-deepest-odd-level-leaf-node">Find depth of deepest odd level leaf node</a>)</p><p>Diagonal Sum of a Binary Tree. (<a href="http://www.ideserve.co.in/learn/diagonal-sum-of-a-binary-tree">Diagonal Sum of a Binary Tree.</a>)</p><p>Find height of the binary tree from its parent array representation (<a href="http://www.ideserve.co.in/learn/find-height-of-binary-tree-from-parent-array">Find height of the binary tree from its parent array representation</a>)</p><p>Find sum of all left leaves of a binary tree (<a href="http://www.ideserve.co.in/learn/find-sum-of-all-left-leaves-binary-tree">Find sum of all left leaves of a binary tree</a>)</p><p>Find floor and ceiling of an element from given dataset using binary search tree (<a href="http://www.ideserve.co.in/learn/floor-ceiling-using-binary-search-tree">Find floor and ceiling of an element from given dataset using binary search tree</a>)</p><p>Recover a Binary Search Tree if positions of two nodes are swapped. (<a href="http://www.ideserve.co.in/learn/how-to-recover-a-binary-search-tree-if-two-nodes-are-swapped">Recover a Binary Search Tree if positions of two nodes are swapped.</a>)</p><p>In-order Successor of a Node in a Binary Tree (<a href="http://www.ideserve.co.in/learn/inorder-successor-of-a-node-in-a-binary-tree">In-order Successor of a Node in a Binary Tree</a>)</p><p>In-order Traversal of a Binary Tree (<a href="http://www.ideserve.co.in/learn/inorder-traversal-of-a-binary-tree">In-order Traversal of a Binary Tree</a>)</p><p>Print left view of a binary tree (<a href="http://www.ideserve.co.in/learn/left-view-of-a-binary-tree">Print left view of a binary tree</a>)</p><p>Lowest Common Ancestor of 2 nodes in a Binary Tree (<a href="http://www.ideserve.co.in/learn/lowest-common-ancestor-binary-tree">Lowest Common Ancestor of 2 nodes in a Binary Tree</a>)</p><p>Minimum Depth of a Binary Tree (<a href="http://www.ideserve.co.in/learn/minimum-depth-of-a-binary-tree">Minimum Depth of a Binary Tree</a>)</p><p>Convert a binary tree to its mirror tree (<a href="http://www.ideserve.co.in/learn/mirror-a-tree">Convert a binary tree to its mirror tree</a>)</p><p>Convert the given n-ary tree to its mirror image (<a href="http://www.ideserve.co.in/learn/mirror-of-n-ary-tree">Convert the given n-ary tree to its mirror image</a>)</p><p>Trie Data Structure | Insert and search (<a href="http://www.ideserve.co.in/learn/trie-insert-and-search">Trie Data Structure | Insert and search</a>)</p><p>Trie Data Structure | Delete (<a href="http://www.ideserve.co.in/learn/trie-delete">Trie Data Structure | Delete</a>)</p><p>Pattern matching using Trie (<a href="http://www.ideserve.co.in/learn/pattern-matching-using-trie">Pattern matching using Trie</a>)</p><p>Longest Prefix Matching using Trie (<a href="http://www.ideserve.co.in/learn/longest-prefix-match-using-trie">Longest Prefix Matching using Trie</a>)</p><p>Post-order Traversal of a Binary Tree (<a href="http://www.ideserve.co.in/learn/postorder-traversal-of-a-binary-tree">Post-order Traversal of a Binary Tree</a>)</p><p>Pre-order Traversal of a Binary Tree (<a href="http://www.ideserve.co.in/learn/preorder-traversal-of-a-binary-tree">Pre-order Traversal of a Binary Tree</a>)</p><p>Print all Root to Leaf paths of a Binary Tree (<a href="http://www.ideserve.co.in/learn/print-all-root-to-leaf-paths-of-a-binary-tree">Print all Root to Leaf paths of a Binary Tree</a>)</p><p>Print binary tree in vertical order (<a href="http://www.ideserve.co.in/learn/print-binary-tree-vertical-order">Print binary tree in vertical order</a>)</p><p>Print all nodes of a binary tree that do not have sibling (<a href="http://www.ideserve.co.in/learn/print-nodes-of-binary-tree-without-sibling">Print all nodes of a binary tree that do not have sibling</a>)</p><p>Remove all the half nodes from a given binary tree (<a href="http://www.ideserve.co.in/learn/remove-all-half-nodes-binary-tree">Remove all the half nodes from a given binary tree</a>)</p><p>Remove the nodes of binary search tree which are outside the given range (<a href="http://www.ideserve.co.in/learn/remove-out-of-range-bst-nodes">Remove the nodes of binary search tree which are outside the given range</a>)</p><p>Print right view of a binary tree (<a href="http://www.ideserve.co.in/learn/right-view-of-a-binary-tree">Print right view of a binary tree</a>)</p><p>Serialize and Deserialize a binary search tree using post order traversal (<a href="http://www.ideserve.co.in/learn/serialize-deserialize-binary-search-tree-using-post-order-traversal">Serialize and Deserialize a binary search tree using post order traversal</a>)</p><p>Serialize and Deserialize a binary search tree (<a href="http://www.ideserve.co.in/learn/serialize-deserialize-binary-search-tree">Serialize and Deserialize a binary search tree</a>)</p><p>Find the size of largest BST in a binary tree (<a href="http://www.ideserve.co.in/learn/size-of-largest-bst-in-binary-tree">Find the size of largest BST in a binary tree</a>)</p><p>Print top view of a binary tree using level order traversal (<a href="http://www.ideserve.co.in/learn/top-view-of-a-binary-tree-using-level-order-traversal">Print top view of a binary tree using level order traversal</a>)</p><p>Print top view of a binary tree (<a href="http://www.ideserve.co.in/learn/top-view-of-a-binary-tree">Print top view of a binary tree</a>)</p><p>Total number of possible Binary Search Trees with n keys (<a href="http://www.ideserve.co.in/learn/total-number-of-possible-binary-search-trees-with-n-keys">Total number of possible Binary Search Trees with n keys</a>)</p><p>Given a sequence of words, group together all anagrams and print them. (<a href="http://www.ideserve.co.in/learn/anagram-grouping-in-a-sequence-using-trie">Given a sequence of words, group together all anagrams and print them.</a>)</p><p><strong>5: Algorithms on Strings</strong></p><p>Word Break Problem (<a href="http://www.ideserve.co.in/learn/word-break-problem">Word Break Problem</a>)</p><p>Reverse words in a string (<a href="http://www.ideserve.co.in/learn/reverse-words-in-a-string">Reverse words in a string</a>)</p><p>Find all permutations of a String (<a href="http://www.ideserve.co.in/learn/all-permutations-of-a-string">Find all permutations of a String</a>)</p><p>Find minimum edit distance between given two strings (<a href="http://www.ideserve.co.in/learn/edit-distance-dynamic-programming">Find minimum edit distance between given two strings</a>)</p><p>To print maximum number of As using given four keys. (<a href="http://www.ideserve.co.in/learn/how-to-print-maximum-number-of-a-using-given-four-keys">To print maximum number of As using given four keys.</a>)</p><p>Check balanced parentheses in a string (<a href="http://www.ideserve.co.in/learn/check-balanced-parentheses-in-a-string">Check balanced parentheses in a string</a>)</p><p>Distinct binary strings of length n with no consecutive 1s (<a href="http://www.ideserve.co.in/learn/distinct-binary-strings-of-length-n-with-no-consecutive-1s">Distinct binary strings of length n with no consecutive 1s</a>)</p><p>Finding 10 letter repeated DNA sequences. (<a href="http://www.ideserve.co.in/learn/find-10-letter-repeated-DNA-sequences">Finding 10 letter repeated DNA sequences.</a>)</p><p>First non-repeating character in a string (<a href="http://www.ideserve.co.in/learn/first-non-repeating-character-in-a-string">First non-repeating character in a string</a>)</p><p>Group all anagrams together from a given array of strings | Set 1 (<a href="http://www.ideserve.co.in/learn/group-all-anagrams-together-set-1">Group all anagrams together from a given array of strings | Set 1</a>)</p><p>Longest Common Subsequence (<a href="http://www.ideserve.co.in/learn/longest-common-subsequence">Longest Common Subsequence</a>)</p><p>Longest Common Substring (<a href="http://www.ideserve.co.in/learn/longest-common-substring">Longest Common Substring</a>)</p><p>Longest Palindromic Subsequence (<a href="http://www.ideserve.co.in/learn/longest-palindromic-subsequence">Longest Palindromic Subsequence</a>)</p><p>Longest Palindromic Substring (<a href="http://www.ideserve.co.in/learn/longest-palindromic-substring">Longest Palindromic Substring</a>)</p><p>Longest Substring with non-Repeating Characters (<a href="http://www.ideserve.co.in/learn/longest-substring-with-non-repeating-characters">Longest Substring with non-Repeating Characters</a>)</p><p>Palindrome Min Cut (<a href="http://www.ideserve.co.in/learn/palindrome-min-cut">Palindrome Min Cut</a>)</p><p>Shortest Palindrome (<a href="http://www.ideserve.co.in/learn/shortest-palindrome">Shortest Palindrome</a>)</p><p>The longest prefix suffix array computation in KMP pattern matching algorithm. (<a href="http://www.ideserve.co.in/learn/the-longest-prefix-suffix-array-computation">The longest prefix suffix array computation in KMP pattern matching algorithm.</a>)</p><p>The Knuth Morris Pratt algorithm for pattern matching. (<a href="http://www.ideserve.co.in/learn/the-Knuth-Morris-Pratt-algorithm">The Knuth Morris Pratt algorithm for pattern matching.</a>)</p><p><strong>6: Algorithms on Graphs</strong></p><p>Bellman-Ford Algorithm (<a href="http://www.ideserve.co.in/learn/bellman-ford-shortest-path-algorithm">Bellman-Ford Algorithm</a>)</p><p>Dijkstra’s Shortest Path algorithm (<a href="http://www.ideserve.co.in/learn/dijkstra-shortest-path-algorithm">Dijkstra’s Shortest Path algorithm</a>)</p><p>Friend Circles Problem — Graph Theory (<a href="http://www.ideserve.co.in/learn/friend-circles-graph">Friend Circles Problem — Graph Theory</a>)</p><p>Topological Sorting of a Directed Acyclic Graph. (<a href="http://www.ideserve.co.in/learn/topological-sorting-of-directed-acyclic-graph">Topological Sorting of a Directed Acyclic Graph.</a>)</p><p><strong>7: Dynamic Programming Algorithms</strong></p><p>Word Break Problem (<a href="http://www.ideserve.co.in/learn/word-break-problem">Word Break Problem</a>)</p><p>Find minimum cost path in a matrix (<a href="http://www.ideserve.co.in/learn/minimum-cost-path">Find minimum cost path in a matrix</a>)</p><p>Maximum subarray sum (<a href="http://www.ideserve.co.in/learn/maximum-subarray-sum">Maximum subarray sum</a>)</p><p>Find total number of ways to make change using given set of coins (<a href="http://www.ideserve.co.in/learn/coin-change-problem-number-of-ways-to-make-change">Find total number of ways to make change using given set of coins</a>)</p><p>Minimum number of coins to make change (<a href="http://www.ideserve.co.in/learn/minimum-number-of-coins-to-make-change">Minimum number of coins to make change</a>)</p><p>Find the length of longest increasing subsequence in an array (<a href="http://www.ideserve.co.in/learn/longest-increasing-subsequence">Find the length of longest increasing subsequence in an array</a>)</p><p>Find the length of longest bitonic subsequence in an array (<a href="http://www.ideserve.co.in/learn/length-of-longest-bitonic-subsequence-in-an-array">Find the length of longest bitonic subsequence in an array</a>)</p><p>Count all possible decodings of a given digit sequence (<a href="http://www.ideserve.co.in/learn/count-possible-decodings-of-a-given-digit-sequence">Count all possible decodings of a given digit sequence</a>)</p><p>To print maximum number of As using given four keys. (<a href="http://www.ideserve.co.in/learn/how-to-print-maximum-number-of-a-using-given-four-keys">To print maximum number of As using given four keys.</a>)</p><p>Find minimum edit distance between given two strings (<a href="http://www.ideserve.co.in/learn/edit-distance-dynamic-programming">Find minimum edit distance between given two strings</a>)</p><p>Total number of possible Binary Search Trees with n keys (<a href="http://www.ideserve.co.in/learn/total-number-of-possible-binary-search-trees-with-n-keys">Total number of possible Binary Search Trees with n keys</a>)</p><p>0–1 Knapsack Problem (<a href="http://www.ideserve.co.in/learn/dynamic-programming-0-1-knapsack-problem">0–1 Knapsack Problem</a>)</p><p>Longest Common Subsequence (<a href="http://www.ideserve.co.in/learn/longest-common-subsequence">Longest Common Subsequence</a>)</p><p>Longest Common Substring (<a href="http://www.ideserve.co.in/learn/longest-common-substring">Longest Common Substring</a>)</p><p>Longest Increasing Subsequence O(n logn) (<a href="http://www.ideserve.co.in/learn/longest-increasing-subsequence-nlogn">Longest Increasing Subsequence O(n logn)</a>)</p><p>Longest Palindromic Subsequence (<a href="http://www.ideserve.co.in/learn/longest-palindromic-subsequence">Longest Palindromic Subsequence</a>)</p><p>Longest Palindromic Substring (<a href="http://www.ideserve.co.in/learn/longest-palindromic-substring">Longest Palindromic Substring</a>)</p><p>Fibonacci Number (<a href="http://www.ideserve.co.in/learn/nth-fibonacci-number">Fibonacci Number</a>)</p><p>Palindrome Min Cut (<a href="http://www.ideserve.co.in/learn/palindrome-min-cut">Palindrome Min Cut</a>)</p><p>Shortest Palindrome (<a href="http://www.ideserve.co.in/learn/shortest-palindrome">Shortest Palindrome</a>)</p><p>Subset Sum Problem (<a href="http://www.ideserve.co.in/learn/subset-sum-dynamic-programming">Subset Sum Problem</a>)Gold Mine Problem (<a href="http://www.ideserve.co.in/learn/gold-mine-problem">Gold Mine Problem</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ed5e02a03af" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>