Rohit kumarrohitkumar0.hashnode.dev·May 4, 20242-D ArrayIn the 2D Array,There are two sub arrays for the 1st iteration we can use the 1 for loop and for the second iteration we can use second iteration but in order to iterate that, Frist,We have to iterate to the first row then column. but,Remember wh...Discussarrays
attitude academyattitudeacademy.hashnode.dev·Mar 16, 2024How to Think Like a Programmer: Understanding Data StructuresIntroduction: Do you find yourself captivated by the intricate world of computers and coding? Are you harboring aspirations to carve out a career in the realm of computer science? If so, delving into the realm of data structures is an indispensable s...Discussdata structure and algorithms
Taejung Heoblog.aqudi.me·Jan 18, 2024[Dart] Map 구현체: HashMap, SplayTreeMap, LinkedHashMapFlutter 개발을 하다가 key를 기준으로 정렬되는 map 자료형이 필요하여 공부를 찾아보다가 생각보다 여러 가지 구현체가 있다는 것을 알게 됐다. Dart 언어를 접한 지 벌써 3년이 다 되어가는데 이런 요구사항이 있었던 적이 한 번도 없었어서 이제야 알게 됐다는 것이 놀라웠다. 그래서 오늘은 세 가지 Dart Map 구현체 HashMap, SplayTreeMap, LinkedHashMap에 대해서 살펴보고 각 구현체를 언제 사용해야 하는...Discuss·39 readsDart
Reshma Haridhasreshmaharidhas.hashnode.dev·Jan 16, 2024List in PythonList is a data structure similar to array. The List in Python can hold any number of elements in it. It does not have a fixed size. List is indexed. It means we can access the elements of a list by mentioning its index number. Indexing starts from 0,...DiscussPython
Wenqi Huangwenqi.hashnode.dev·Jan 8, 2024C# Data Structure - 3静态数组 Static Array 优点:通过索引就可以直接访问任意元素。 缺点:初始化时,就要知道元素数量。估大了空间浪费,估小了,空间不够用。 解决方案:动态数组 Dynamic Array,能自动调节空间大小,但依然不能充分利用全部空间。 进一步的解决方案:链表 Lined List,能充分利用空间,并实现灵活的动态内存管理。 链表 Lined List: 链表由一个个节点构成 每一个节点存储了两个信息,即: 实际存储的元素,和,下一个节点的引用(指针),用于将两个节...DiscussC#
Disha Bhaveinsertionsort.hashnode.dev·Oct 18, 2023Insert SortIntroduction: Insertion sort is a simple sorting algorithm that works similar to the way you sort playing cards in your hands. The array is virtually split into a sorted and an unsorted part. Values from the unsorted part are picked and placed at the...Discuss·40 readsdata structure
Stephen Ivuelekwastreetcoderr.hashnode.dev·Oct 15, 2023A Simplified view of Disjoint SetIntroduction The disjoint set data structure is a form of data representation majorly used to solve problems that have to do with connectivity. It maintains a collection of disjoint subsets. It has many applications in real life such as social networ...Discussdisjoint set
Akarsh Jainakarshjain.hashnode.dev·Aug 29, 2023The Prefix Sum: A Simple but Efficient Data StructureIf you've started to venture into the world of programming, you might have come across situations where you need to work with parts of a list, even though you might not realize it just yet. No worries if this sounds new – I'm here to walk you through...Discuss#PrefixSum
Aayush kokateaayushk.hashnode.dev·Aug 23, 2023Data Structure: ArraysAn array is a data structure that holds a fixed number of objects of the same type; it has a fixed size. Arrays commonly come up in interviews, so it's important to review arrays. Introduction to Arrays An array is a collection of items of the same d...Discuss·21 likes·58 readsdata structure
Saiful Islam Ratansaifulislamratan99.hashnode.dev·Jul 23, 2023Algorithms/Data Structure and Algorithms II_(Mid+Final) #CSE2217_CSI227Discuss·206 readsalgorithms