Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randhir200/wave-pattern

Given a Linked List of unsorted integers with unique values, we need to check that it forms a wave pattern or not. A sequence is said to be in wave pattern if it is increasing and then decreasing alternatively or vice versa. For example, if we have a linked list 4->7->2->8.
https://github.com/randhir200/wave-pattern

Last synced: 1 day ago
JSON representation

Given a Linked List of unsorted integers with unique values, we need to check that it forms a wave pattern or not. A sequence is said to be in wave pattern if it is increasing and then decreasing alternatively or vice versa. For example, if we have a linked list 4->7->2->8.

Awesome Lists containing this project