Code Review

Compare your solutions

    #| BEGIN (Введите свое решение) |#
(define (solution row pos)
  (if (or (= pos 1)
          (= pos row))
      1
      (+ (solution (- row 1) (- pos 1)) 
         (solution (- row 1) pos))))
#| END |#
    #| BEGIN (Введите свое решение) |#
(define (solution row pos)
  (if (or (= pos 1)
          (= pos row))
      1
      (+ (solution (- row 1) (- pos 1)) 
         (solution (- row 1) pos))))
#| END |#
    #| BEGIN (Введите свое решение) |#
(define (solution row pos)
  (if (or (= pos 1)
          (= pos row))
      1
      (+ (solution (- row 1) (- pos 1)) 
         (solution (- row 1) pos))))
#| END |#
    #| BEGIN (Введите свое решение) |#
(define (solution row pos)
  (if (or (= pos 1)
          (= pos row))
      1
      (+ (solution (- row 1) (- pos 1)) 
         (solution (- row 1) pos))))
#| END |#