LogIn
I don't have account.

Two Pointes

The two-pointer technique is an efficient algorithmic approach that uses two indexes to traverse data structures like arrays or strings. The pointers move toward each other, away from each other or in the same direction to solve problems involving searching, pair finding or window management. It reduces complexity, often turning O(n²) solutions into O(n), making it ideal for optimized problem-solving.

Top Two Pointes Articles

Sliding Window Algorithm : Beginners to Advanced Engineers
Sliding Window Algorithm, What is the Sliding Window Approach?, Why Use Sliding Window? Where to Use Sliding Window, How Sliding Window Works with Examples
What is Two Pointer Approach?
The two-pointer technique is a foundational pattern for solving array, string, and linked-list problems in linear (or near-linear) time with constant extra space
Check if a Linked List is Palindrome
Palindrome Linked List | Check if a Linked List is Palindrome O(n) time and O(1) space | Fast & Slow Pointer Method with In-Place Second Half Reversal
Length of the Longest Substring Without Repeating Characters
Length of the Longest Substring Without Repeating Characters | Given a string str find the length of the longest substring without repeating characters | find the length of the longest substring without repeating characters in a given string |
Remove Duplicates from Sorted Array II
Given a sorted integer array in ascending order , remove all duplicates from this array so that each unique element appears at most twise in this array. also maintain relative order of the elements in array.
Remove Duplicates from Sorted Array
Given an integer sorted array (arr) in ascending order , remove all duplicates from this array so that each unique element appears only once in this array. also maintain relative order of the elements in array
Merge Sorted Array
You are given two integer arrays arr1 and arr2, sorted in accending order, and two integers m and n, representing the number of elements in arr1 and arr2 respectively. Merge arr1 and arr2 into a single array sorted in accending order.

Popular Topics

System Design
System design is the process of defining the architecture, components, modules, interfaces and data flow of a system to meet specific requirements. It focuses on creating scalable, efficient and maintainable solutions, covering both high-level design (HLD) and low-level design (LLD). Essential for building reliable, high-performance software systems.
Interview
A structured conversation where one participant asks questions and the other provides answers of those questions.
Software Design
Software design is the process of planning and structuring a software system’s architecture, components, interfaces, and data flow to meet functional and non-functional requirements. It ensures scalability, maintainability and performance. Key approaches include modular design, object-oriented design and architectural patterns like MVC and microservices for efficient, reliable software development.
Query
In databases, a query is a request to retrieve, insert, update or delete data. Written in SQL (Structured Query Language), queries can be simple, like fetching all rows from a table, or complex, involving joins, conditions and aggregations. They are essential for interacting with and managing database information efficiently.
Java
Java is a high-level object-oriented programming language. it's firstly released by Sun Microsystems in 1995. Use this tag when you're having queries using or understanding the language. This tag is also applicable to Java libraries and frameworks.
SQL
SQL stands for Structured query language. It is a programming language for storing and processing information in a relational database. It is standard language for accessing and manipulating databases.
Two Pointes
The two-pointer technique is an efficient algorithmic approach that uses two indexes to traverse data structures like arrays or strings. The pointers move toward each other, away from each other or in the same direction to solve problems involving searching, pair finding or window management. It reduces complexity, often turning O(n²) solutions into O(n), making it ideal for optimized problem-solving.
Database
A database is an organized collection of data. It is the collection of schemas, tables, queries, reports, views, and other objects. The data are typically organized to model aspects of reality in a way that supports processes requiring information. Use this tag if you have questions about designing a database.
Git Commit
A git commit is a command used to save changes to the local repository, creating a snapshot of the project at a specific point in time. Each commit includes a unique ID, message and details of modified files. Commits help track progress, document work and enable reverting or reviewing changes, forming the foundation of version control in Git.
Method
A method is a block of code that performs a task.
Popular Articles
Static Class vs Singleton in C#: A Complete Deep Dive
You are given two integer arrays arr1 and arr2, sorted in accending order, and two integers m and n, representing the number of elements in arr1 and arr2 respectively. Merge arr1 and arr2 into a single array sorted in accending order.
Top High-Level Design(HLD) Interview Questions and answers, HLD QnA, HLD interview preparation
Amazon Transaction Logs (example question), Amazon Transaction Logs Interview question
List Handling in Java vs C# vs C++ A Deep Comparison, This comparison provides a full view java , c# and c++ List like data structures
Find the Maximum Subarray Sum | Largest Sum Contiguous Subarray | Kadane’s Algorithm | Maximum Subarray | Given an integer array nums, find the subarray with the largest sum and return its sum | The Efficient Way to Find Maximum Subarray Sum
Rotate an array of n elements to the right by k steps | right rotate the elements of an array | array rotate | rotate array by k step
How to Approach HR Interview Questions , What to Keep in Mind While Answering HR Interview Questions, HR Interview Questions and Answers
Learn how to create a primary key in SQL using syntax and examples. Ensure unique records, improve query performance and build table relationships.
Mastering the Template Design Pattern in C#, Template Design Pattern in Depth: Structure, Use Cases and Best Practices

Most Popular Tools

Explore our top online tools including a blank page for notes, a QR code generator, word counter and collaborative editor. These free, easy-to-use utilities help you write, analyze, share and organize content faster. Perfect for developers, creators and students to streamline everyday digital tasks efficiently.

Blank Page

Create a blank canvas for your ideas, notes or sketches. Use this tool for rough work and jotting down your thoughts

QR Code Generator

A QR Code Generator is a tool that instantly converts text, URLs or other data into a scannable QR code. Users can create custom QR codes for websites, contact info or messages. It's commonly used for quick access, sharing and printing without needing a backend or complex setup.

Word Counter

Perform various string operations like counting characters, words or letters.

Collaborative Editor

Collab Editor is a powerful, free-to-use online platform that lets you collaborate in real-time. Whether you re working on documents, brainstorming idea, or discussing projects etc