top of page

Code Challenge #3

Updated: Nov 10, 2023

Spreadsheets often use this alphabetical encoding for its columns:

"A", "B", "C", ..., "AA", "AB", ..., "ZZ", "AAA", "AAB", .... Given a column number, return its alphabetical column id. For example, given 1, return "A". Given 27, return "AA".

Bonus Challenge Implement 3 stacks using a single list in Python.

Given this data structure:

class Stack: def __init__(self): self.list = [] def pop(self, stack_number): pass def push(self, item, stack_number): pass



Comment below with your solutions.

留言

評等為 0(最高為 5 顆星)。
暫無評等

新增評等

Subscribe to get exclusive updates

Thanks for subscribing!

CONTACT ME
avatar-formal-round.png

Follow

  • Medium
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram
  • Youtube
  • linktree
  • Buy Me A Coffee

© 2019 - 2024 By Biyi Akinpelu. The LORD Is My Banner

bottom of page