โ† Flipkart questions
CodingVery Easy

Steps to reach diamond

Filed under Flipkart

A diamond is placed on the nth step of a staircase. You can jump either 1 step or j steps at a time. Find the total number of distinct ways to reach the nth step.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.