JobsJob TrackerJob alerts

Amagi ยท 13 questions

All 13Coding 13
  • Matrix Element Sum Based on Indices ParityCoding
  • Product of Array Except SelfCoding
  • Binary Tree Zig-Zag TraversalCoding
  • Find Insertion Position in Sorted ArrayCoding
  • Find Kth Maximum from Infinite StreamCoding
  • K-th element in lexicographically sorted stringCoding
  • Minimum cost to buy N pensCoding
  • Check if three points are collinearCoding
  • Sum of Fibonacci numbers at prime indicesCoding
  • Sum of all leaf nodes in a binary treeCoding
  • Longest subarray with zero sumCoding
  • Maximize stock profitCoding
  • Right view of a Binary Search TreeCoding
โ† Amagi questions
  1. Interview questions
  2. Amagi
  3. Sum of Fibonacci numbers at prime indices
Coding

Sum of Fibonacci numbers at prime indices

Filed under Amagi

The question

Generate the first n Fibonacci numbers and return the sum of those at prime indices.

No write-up yet. Related questions below have one.

Related Amagi questions

  • Matrix Element Sum Based on Indices Parity
  • Binary Tree Zig-Zag Traversal
  • Find Insertion Position in Sorted Array
  • Find Kth Maximum from Infinite Stream
  • K-th element in lexicographically sorted string
โ† Check if three points are collinearSum of all leaf nodes in a binary tree โ†’

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