AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Two-pointers-question / Level: Advanced
551. Determine if an array can be split into two subsets with equal sum.
552. Given a string, find the longest substring with at most k distinct characters.
553. Count the number of ways to make change for a given amount using dynamic programming.
554. Check if a binary search tree is valid using a stack and two pointers.
555. Find the maximum length of a contiguous subarray with a sum of zero.
556. Calculate the number of valid combinations of parentheses for n pairs.
557. Given a string, check if it can be rearranged to form a valid palindrome using character frequency.
558. Find the longest sequence of consecutive integers in an array.
559. Count the number of distinct palindromic substrings in a string using the two-pointer technique.
560. Check if a number is a power of two using bit manipulation.
561. Implement a function to determine the maximum sum of a subarray that does not contain adjacent elements.
562. Find the smallest substring that contains all characters of another string using the two-pointer technique.
563. Check if two strings can be made equal by swapping two characters.
564. Count the number of unique paths in a grid with varying costs.
565. Determine if a binary tree is a valid BST using the two-pointer technique.
566. Given two linked lists, find the starting node of the intersection point.
567. Count the number of ways to rearrange the characters of a string to form palindromes.
568. Check if a sequence of numbers can form an arithmetic progression.
569. Find the longest increasing subsequence of a string of characters.
570. Count the number of valid configurations of brackets for n pairs.
571. Given an array, find the maximum sum of a non-contiguous subarray.
572. Check if a linked list is a palindrome using the two-pointer technique.
Previous
1
2
3
4
5
6
Next
More Levels
Beginner
Intermediate
Most Visited
Implement a function to find the longest valid parentheses substring using the two-pointer technique.
Given a list of integers, find two numbers such that they add up to a specific target.
Implement a function to find the longest common substring.
Given two strings, check if they can be made equal by rearranging characters.
Calculate the longest substring of a string that contains no more than two vowels.
Given an array, determine if it can be partitioned into two subsets with equal sum.
Given two arrays, find the intersection of both.
Implement a function to check if two strings can be made identical by rearranging.
Find the minimum number of operations to convert one string into another.
Given two strings, check if they are anagrams of each other ignoring whitespace.
Check if a binary tree is a valid BST using the two-pointer technique.
Implement a function to find the longest valid parentheses substring using a stack and two pointers.
Remove duplicates from a sorted array and return the new length.
Given a string, find all unique permutations of the characters.
Calculate the minimum number of deletions needed to make two strings anagrams.