Facebook Pixel

Keyword to Algorithm

This is a mapping of keywords you'll see in coding problems to the algorithms that solve them. If you are not experienced with solving coding problem, it may not make much sense now but don't worry we will learn all these later.

Use this guide as a reference when you're trying to identify which algorithm might be appropriate for a particular problem. The keywords and phrases listed below often signal that a specific algorithm or data structure approach would be effective.

"Top k"

"How many ways.."

"Substring"

"Palindrome"

"Tree"

"Parentheses"

"Subarray"

Max subarray

"X Sum"

"Max/longest sequence"

"Minimum/Shortest"

"Partition/split ... array/string"

"Subsequence"

"Matrix"

"Jump"

"Game"

Invest in Yourself
Your new job is waiting. 83% of people that complete the program get a job offer. Unlock unlimited access to all content and features.
Go Pro