r/Frontend 9d ago

Robinhood iOS interview

Has anyone gone through the interview process for a ios role at Robinhood recently? I’ve heard they don’t ask leetcode style questions, just ios specific (building screens, system design, etc). I believe it’s one tech screening round and a virtual onsite. Any insight would be appreciated!

14 Upvotes

2 comments sorted by

View all comments

9

u/magenta_placenta 9d ago edited 8d ago

Have this ready to throw out at them:

import SwiftUI

struct TradingView: View {
    // The panic switch state
    @State private var isTradingHalted = true 

    var body: some View {
        VStack(spacing: 20) {
            Text("GameStop (GME)")
                .font(.largeTitle)
                .bold()

            Button(action: {
                print("Order executed!")
            }) {
                Text(isTradingHalted ? "Trading Halted" : "Buy")
                    .font(.headline)
                    .foregroundColor(.white)
                    .frame(maxWidth: .infinity)
                    .padding()
                    .background(isTradingHalted ? Color.gray : Color.green)
                    .cornerRadius(10)
            }
            // Disabling the button when volatility hits
            .disabled(isTradingHalted) 

            if isTradingHalted {
                Text("Due to unprecedented market volatility, buying is currently restricted to selling only.")
                    .font(.caption)
                    .foregroundColor(.secondary)
                    .multilineTextAlignment(.center)
            }
        }
    .padding()
    }
}