JobsJob TrackerJob alerts

GS Lab ยท 8 questions

All 8Coding 6
  • Check if string can form palindrome via rotation or swappingCoding
  • Iterative and recursive factorial with optimizationCoding
  • Chess game logic for two horses on a chessboardCoding
  • Find distinct characters in large scanned textCoding
  • Cool NumberCoding
  • SQL Data Visualization and ER Modeling
  • Project discussion
  • BST and Linked List problemsCoding
โ† GS Lab questions
  1. Interview questions
  2. GS Lab
  3. Iterative and recursive factorial with optimization
CodingReported in a candidate post, Aug 2019

Iterative and recursive factorial with optimization

Filed under GS Lab

The question

Write both iterative and recursive solutions to find the factorial of a number and discuss whether it can be optimized.

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

Related GS Lab questions

  • Check if string can form palindrome via rotation or swapping
  • Chess game logic for two horses on a chessboard
  • Find distinct characters in large scanned text
  • Cool Number
  • BST and Linked List problems
โ† Check if string can form palindrome via rotation or swappingChess game logic for two horses on a chessboard โ†’

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