Palo Alto Networks | SWE (Senior) | Coding | Onsite

ASasakhala921·
Interview Date:June 17, 2025Region:NA (North America)Hiring Team/Org:General Hire

Create a deck of cards. Card values can be represented by the integers 2 14 and suits can be represented by A D (52 cards total). For example: deck = [2A, 3A, 4A, ... 2B, 3B, ..., 14D] Create a draw card() function which removes a card from the top of the deck and returns it. Add a deal cards() function which accepts a param for the number of hands to return. Each hand should have an equal number of cards. We should...

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.