r/datastructure • u/[deleted] • Dec 29 '18
r/datastructure • u/HelpingHand007 • Aug 09 '20
Amazon Coding Interview | Longest Common Substring Dynamic programming |...
r/datastructure • u/VijayRawool • Jun 19 '20
Python program for Insertion sort
r/datastructure • u/VijayRawool • Jun 15 '20
Program to implement stack using linked list
r/datastructure • u/[deleted] • Jun 06 '20
Algorithm and Flowchart for Stack using Arrays
r/datastructure • u/[deleted] • Jun 06 '20
Binary Tree Implementation in Python
r/datastructure • u/VijayRawool • Jun 02 '20
Understand datastructures with python
r/datastructure • u/[deleted] • May 31 '20
Depth First Search (DFS) Pseudocode and Program in Java
r/datastructure • u/[deleted] • May 25 '20
LeetCode - #9 Pelindrome Number Explained | Python Solution
r/datastructure • u/[deleted] • May 10 '20
#3 Longest Substring Without Repeating Characters Explained | Python Sol...
r/datastructure • u/highsmallxu • Nov 12 '19
Everything you need to know about tree data structure
Everything you need to know about tree data structure
A recommended blog post about tree data structure.
r/datastructure • u/[deleted] • Nov 08 '19
Data Structure Interview Questions
r/datastructure • u/workaboveall • Oct 13 '19
Is there any pattern in the data structure question by applying them, it would be possible to reach to the solution .
for example 2 pointer technique is there, are there any other techniques also present ?
r/datastructure • u/hmoein • Jan 31 '19
Python Panda’s in modern C++
Last year I implemented a Pandas like data frame in C++. Since then, I have added a lot more functionality and documentation including views and a cool date/time class.
I appreciate your constructive criticism/suggestions.
r/datastructure • u/[deleted] • Jan 01 '19
Lower Bounds: Omega
Big Omega notation is used to define the lower bound of any algorithm or we can say the best case of any algorithm.
This always indicates the minimum time required for any algorithm for all input values, therefore the best case of any algorithm.
In simple words, when we represent a time complexity for any algorithm in the form of big-Ω, we mean that the algorithm will take atleast this much time to cmplete it's execution. It can definitely take more time than this too.
r/datastructure • u/[deleted] • Jan 01 '19
Upper Bounds: Big-O
This notation is known as the upper bound of the algorithm, or a Worst Case of an algorithm.
It tells us that a certain function will never exceed a specified time for any value of input n.
The question is why we need this representation when we already have the big-Θ notation, which represents the tightly bound running time for any algorithm. Let's take a small example to understand this.
Consider Linear Search algorithm, in which we traverse an array elements, one by one to search a given number.
In Worst case, starting from the front of the array, we find the element or number we are searching for at the end, which will lead to a time complexity of n, where n represents the number of total elements.
But it can happen, that the element that we are searching for is the first element of the array, in which case the time complexity will be 1.
Now in this case, saying that the big-Θ or tight bound time complexity for Linear search is Θ(n), will mean that the time required will always be related to n, as this is the right way to represent the average time complexity, but when we use the big-O notation, we mean to say that the time complexity is O(n), which means that the time complexity will never exceed n, defining the upper bound, hence saying that it can be less than or equal to n, which is the correct representation.
This is the reason, most of the time you will see Big-O notation being used to represent the time complexity of any algorithm, because it makes more sense.
r/datastructure • u/[deleted] • Jan 01 '19
Types of Asymptotic Notations
We use three types of asymptotic notations to represent the growth of any algorithm, as input increases:
Big Theta (Θ)
Big Oh(O)
Big Omega (Ω)
r/datastructure • u/[deleted] • Oct 18 '20
How to Build Queue using Stack?
I have written an article on how to build queue using stack check it out and give me suggestions for improvement.
https://literacis.com/blog/detail/-build-queue-using-stack-5f8bcccc486edd65bfd9dafa
r/datastructure • u/8329417966 • Sep 15 '20
Python Objects and basics of Python Data structure
r/datastructure • u/VijayRawool • Sep 02 '20
Infix To Prefix Conversion Using Python
r/datastructure • u/wts-code • Aug 22 '20
Binary Tree Root to Leaf Path | Leetcode 257 | One Of The Most Asked Question in Product Firm Inteviews
r/datastructure • u/CareforData • Aug 12 '20