shlogg · Early preview
Rohith V @vazhathody

Software Engineer || Java || Graduated From Government Engineerig College Thrissur. Interested in Data Structures in Java

Number Of Ways To Travel In The Shortest Amount Of Time

You can travel from intersection 0 to intersection n - 1 in the shortest amount of time in `dp[n - 1] % MOD` ways.

Minimum Distance Between Equal Elements In Circular Array

Solve circular array queries: find min distance between query index and same value in array. Use hashmap to store indices, binary search for efficient lookup.