Easy-level Solana interview questions covering blockchain basics, programs, and development. Q1: What is Solana and how does it work? Answer: Solana is a high-performance blockchain designed for scalability. Key Features: High Throughput: 65,000+ TPS Low Latency: ~400ms block time Low Cost: ~$0.00025 per transaction …
Read MoreHard-level Solana interview questions covering advanced optimization, security, and complex program design. Q1: How do you implement advanced account compression and state optimization? Answer: State Compression: 1// Use Merkle trees for state 2use merkle_tree::MerkleTree; 3 4pub struct CompressedState { 5 tree: …
Read MoreMedium-level Solana interview questions covering advanced program development, optimization, and architecture. Q1: How do you implement cross-program invocations (CPIs)? Answer: CPI Basics: 1use solana_program::{ 2 program::invoke, 3 account_info::AccountInfo, 4}; 5 6pub fn call_other_program( 7 program_id: …
Read MoreSolana Proof of History Consensus Interview Questions
Solana consensus algorithm interview questions covering Proof of History (PoH) combined with Proof of Stake. Q1: How does Solana Proof of History (PoH) consensus work? Answer: Solana uses a unique consensus mechanism combining Proof of History (PoH) with Proof of Stake (PoS). PoH provides a cryptographic timestamp for …
Read MoreTendermint consensus algorithm interview questions covering the Byzantine Fault Tolerant consensus used in Cosmos chains. Q1: How does Tendermint consensus work? Answer: Tendermint is a Byzantine Fault Tolerant consensus algorithm used in Cosmos chains. Sequence Diagram: Overall Flow Diagram: Individual Node Decision …
Read MoreEasy-level Web3 interview questions covering blockchain fundamentals, Ethereum, smart contracts, and decentralized applications. Q1: What is blockchain and how does it work? Answer: Block Structure Key Components: Block: Container of transactions Hash: Unique identifier (SHA-256) Previous Hash: Links to previous block …
Read MoreHard-level Web3 interview questions covering MEV, zero-knowledge proofs, advanced DeFi, and protocol design. Q1: Explain MEV (Maximal Extractable Value) and mitigation strategies. Answer: Sandwich Attack MEV Mitigation 1// ✅ Use private mempools (Flashbots) 2// ✅ Implement slippage protection 3contract MEVProtected { 4 …
Read MoreMedium-level Web3 interview questions covering DeFi, advanced Solidity, security, and protocol design. Q1: Explain DeFi and common DeFi protocols. Answer: DeFi Stack Automated Market Maker (AMM) Constant Product Formula: $x \times y = k$ Q2: What are Solidity modifiers and function visibility? Answer: Modifiers …
Read MoreEasy-level AI/ML interview questions with LangChain examples and Mermaid diagrams. Q1: What is the difference between supervised and unsupervised learning? Answer: Supervised: Has labels (input → output mapping) Unsupervised: No labels (discover structure) LangChain Example: 1from langchain.prompts import …
Read MoreHard-level AI/ML interview questions covering advanced architectures, optimization, and theoretical concepts. Q1: Implement attention mechanism from scratch. Answer: How It Works: Attention allows model to focus on relevant parts of input when producing output. Core Idea: Compute weighted sum of values, where weights …
Read MoreMedium-level AI/ML interview questions covering neural networks, ensemble methods, and advanced concepts. Q1: Explain backpropagation in neural networks. Answer: How It Works: Backpropagation is the algorithm for training neural networks by computing gradients of the loss with respect to weights. Forward Pass: Input …
Read MoreArchitecture Interview Questions - Easy
Easy-level software architecture interview questions covering fundamental patterns, principles, and concepts. Q1: Explain the difference between monolithic and microservices architecture. Answer: Monolithic Architecture Definition: Single unified application where all components are tightly coupled and deployed …
Read MoreHard-level software architecture interview questions covering advanced distributed systems, consensus, and complex patterns. Q1: Explain distributed consensus algorithms (Raft, Paxos). Answer: Problem: How do multiple nodes agree on a value in presence of failures? Raft Algorithm Roles: Leader: Handles all client …
Read More