Feb 19 · 2 min read · Question You are given an array of strings tokens that represents a valid arithmetic expression in Reverse Polish Notation. Return the integer that represents the evaluation of the expression. The operands may be integers or the results of other ope...
Join discussionFeb 18 · 3 min read · Question Design a stack class that supports the push, pop, top, and getMin operations. MinStack() initializes the stack object. void push(int val) pushes the element val onto the stack. void pop() removes the element on the top of the stack. int ...
Join discussionFeb 17 · 2 min read · Date: February 17, 2026Category: SQLTime Taken: 30 minutesDifficulty: Hard Problem Statement The cancellation rate is computed by dividing the number of canceled (by client or driver) requests with unbanned users by the total number of requests with...
Join discussionFeb 16 · 2 min read · Date: February 16, 2026Category: SQLTime Taken: 15 minutesDifficulty: Hard Problem Statement Write a solution to display the records with three or more rows with consecutive id's, and the number of people is greater than or equal to 100 for each. Re...
Join discussionFeb 16 · 2 min read · Question You are given a string s consisting of the following characters: '(', ')', '{', '}', '[' and ']'. The input string s is valid if and only if: Every open bracket is closed by the same type of close bracket. Open brackets are closed in the c...
Join discussion