code.ashish.me

Atom feed

Recently added: 128 Longest Consecutive Sequence, 347 Top K Frequent Elements, 045 Jump Game 2, 228 Summary Ranges, 219 Contains Duplicate 2

004 Climbing Stairs

/**
 *
 * Ashish Patel
 * e: ashishsushilPatel@gmail.com
 * w: https://ashish.me
 *
 */


const climbingStairs = (val) => {
  return val
}

test('climbingStairs', () => {
  expect(climbingStairs(5)).toEqual(5)
});

Created 2022-01-31T18:33:54+00:00 · Edit