#problem-solving-skills

Read more stories on Hashnode

Articles with this tag

How to generate the power set · Problem Statement Given an integer array nums of unique elements, return all possible subsets (the power set). The...

An example of two-pointer technique · Problem statement Given an integer array nums already sorted in non-decreasing order, you must remove duplicates so...

How to merge two linked lists · Problem statement Given the starting nodes of two sorted linked lists, list1 and list2, your task is to combine these...

The two-pointers technique with linked list · Problem statement Given head, the head of a linked list, determine if the linked list has a cycle in...

An example of recursive algorithms and dynamic programming · Problem statement A robot is located at the top-left corner of a m x n grid (marked 'Start'...

An example of two-pointer technique · Problem statement You are given an integer array height of length n. There are n vertical lines drawn such that the...