5 Posts tagged with TWO POINTER TECHNIQUE
Two Pointer Technique
Two Pointers technique is mainly used to search for data in a given data structure. This optimization technique helps to solve the problem efficiently and effectively in terms of both time and space complexities.
Data Structures & Algorithms Problems
Merge Two Sorted Linked Lists
Data Structures & Algorithms Problems
k’th Node from End of Linked List - Given a linked list LL and a positive integer k, find the kth node from the end of the list.
Data Structures & Algorithms Problems
Middle Element of the Linked List-Given a linked list of integers, return the middle element of the linked list.
Data Structures & Algorithms Problems
Merge Two Sorted Arrays - Given two integer arrays A and B sorted in increasing order, merge A and B into a single sorted array C in increasing order