# ☕ Startup Hiring Spree

### Clubhouse is a startup started less than a year ago that is now worth 4 billion dollars. But, they're facing a massive decline in growth and tons of new competition. Plus, the Stripe of India expands.

Hey Guys,

Interviewing.io is a *fantastic* resource I wanted to share with you all.

You can **book realistic mock interviews with senior FAANG engineers** who will give you **detailed and actionable feedback** on exactly what you need to work on.

Mastering algorithms on LeetCode and system design on SystemsExpert is great, but they don’t prepare you for the pressure and stress that comes from an actual interview setting.

The best part?

**You don’t pay anything until you’re hired.**

Check them out here.

*Special thanks to Interviewing.io for sponsoring Quastor Daily. I’m a user of the service!*

# Industry News

**Razorpay raises $160 million at a $3 billion valuation**

**Razorpay raises $160 million at a $3 billion valuation**

Razorpay is a Bangalore-based fintech startup that was started in 2015 (part of the Y-Combinator Winter 2015 class).

The company started as a B2B payments company (similar to a Stripe for the Indian market) but has since expanded to a full-service digital banking platform (neobank) for businesses in India.

They are the leading payments provider in India and are working on becoming the leading provider of banking and payout products to businesses for things like payroll and vendor payouts. They’ve also launched a platform for corporate credit cards and other financial products that businesses need on a day to day basis.

Razorpay is the first Indian Y-Combinator company to reach unicorn status (a valuation of $1 billion dollars or more).

The company now serves ~15,000 businesses and annually lends out $80 million dollars to customers with Razorpay Capital. They plan to process over $50 billion dollars in transactions by the end of 2021.

The fundraising round was co-led by Sequoia Capital India and Singapore’s Sovereign Wealth Fund (GIC). Other existing investors include Tiger Global and Ribbit Capital.

The founders of Razorpay are Mathur and Shashank Kumar, who met at the Indian Institute of Technology Roorkee college.

**Razorpay Hiring Spree**

Razorpay is **planning to go on a bit of a hiring spree**, with positions mostly in the Bangalore area. (Apologies if you’re not in the Bangalore area! We’ll be covering fast-growing startups from across the world - many of whom hire remotely!)

Frontend Engineers are working with the ReactJS stack although they’re mostly looking for strong JavaScript fundamentals (knowing ReactJS is a plus).

Backend Engineers are expected to have knowledge of Relational Databases (MySQL) and databases like Redis. Plus, Unix/Linux based systems and Java, Go *or* PHP.

You can view jobs at Razorpay here.

**Clubhouse closes new round of fundraising valuing the company at $4 billion dollars**

**Clubhouse closes new round of fundraising valuing the company at $4 billion dollars**

Clubhouse is the buzzy new social network that offers live audio rooms. The app allows you to create rooms where you can host a voice call with your friends or any strangers who join your room. You can also join other people’s rooms where the speakers might include celebrities like Elon Musk, Sonam Kapoor or Mark Zuckerberg.

The company was started **a year ago** and is now worth $4 billion dollars in their Series C fundraising round. The VC firm Andreessen Horowitz has been the lead investor in Clubhouse’s Series A, B and now C fundraising rounds. Other investors in this round include Tiger Global and venture capitalist Elad Gil.

This Series C round represents a 4x jump from Clubhouse’s Series B round, which valued the company at $1 billion dollars.

Clubhouse *has been facing some headwinds though* with their growth slowing significantly. Their downloads have been slowing for the past few months and they’ve only onboarded 643,000 users so far in April.

Additionally, Clubhouse is facing a *sharp* increase in competition. Facebook, Reddit, Slack, LinkedIn and Twitter are all working on competitors to Clubhouse.

In terms of their tech stack, Clubhouse uses the Agora’s API to run their audio chat.

The story behind Agora is quite fascinating. In 1997, two Chinese engineers joined the founding team at a video conferencing startup called WebEx.

Both of these engineers later started their own tech companies. One of the engineers, Bin “Tony” Zhao started Agora.

The other engineer, Eric Yuan, started Zoom (the video conferencing company that is now worth $100 billion dollars).

Not Boring wrote a fascinating case study on Agora’s history and SDK.

# Interview Question

You are given a binary tree in which each node contains an integer value. The integer value can be positive or negative.

Write a function that counts the number of paths in the binary tree that sum to a given value (the value will be provided as a function parameter).

The path does *not* need to start or end at the root or a leaf, but it must only go downwards.

*We’ll send a detailed solution tomorrow, so make sure you move our emails to primary, so you don’t miss them!*

**Gmail users**—move us to your primary inbox

**On your phone?**Hit the 3 dots at the top right corner, click "Move to" then "Primary"**On desktop?**Back out of this email then drag and drop this email into the "Primary" tab near the top left of your screen

**Apple mail users**—tap on our email address at the top of this email (next to "From:" on mobile) and click “Add to VIPs”

# Previous Solution

**As a refresher, here’s the last question**

Write a function that adds two numbers.

**You cannot use + or any arithmetic operators!**

**Solution**

As you might’ve guessed, we can solve this question with Bit Manipulation.

First, let’s walk through addition in Base 10.

We want to add `234 + 983`

.

We can add these two numbers by breaking the operation down into “addition” and “carry-over”

For the addition part, we’ll add `234 + 983`

but ignore any carry overs.

That will result in `117`

as 2 + 9 = 1, 3 + 8 = 1, 4 + 3 = 7.

Now, we’ll do the carry overs.

The carry-over for `234 + 983`

is `1100`

.

Now, we can add the addition part and the carry over part to get the final sum.

`117 + 1100 = 1217`

, which is equal to `234 + 983`

.

So, for doing this operation with bit manipulation, we can just repeat the same steps!

We can simulate the addition part with the XOR operator. That’s because if we add the two binary numbers together without carrying over, the ith bit in the sum will be 0 only if a and b have the same ith bit (both 0 or both 1).

For the carry over, the ith bit in the sum will be 1 only if a and b have (i - 1) bits that are both 1. This can be simulated with an AND operation and then left shifting by 1.

Then, we have to add the addition part and the carry over part. We can do this by recursively calling our add function!

The base case will be when one of the numbers is 0, then we can just return the other number.

```
def add(a, b):
if a == 0: return b
if b == 0: return a
# Addition Part
addition = a ^ b
# Carry Over Part
carryOver = (a & b) << 1
return add(addition, carryOver)
```

**Reply back with the time complexity of our solution!**

We’ll tell you if you’re right or wrong!

**Want more practice with real FAANG software engineers?**

Check out Interviewing.io!

You don’t have to pay anything until you get that job at FAANG!

## Create your profile

## Only paid subscribers can comment on this post

Sign in## Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.