TechHire NepalConnecting Talent, Building Careers
Find JobsCompaniesCourses
Find Talents
Sign inGet Started →
Find JobsCompaniesCourses
Find Talents
Sign inGet StartedHire Talent
TechHire Nepal

Nepal's #1 tech job platform. Connecting top talent with the best companies.

For Job Seekers

  • Browse Jobs
  • Companies
  • Tech Salaries
  • Interview Prep
  • Courses
  • Career Advice

For Employers

  • Post a Job
  • Talent Search
  • Pricing
  • Employer Dashboard

Company

  • About
  • Blog
  • Careers
  • Contact

Resources

  • Training Institutes
  • Projects
  • Tutorials
  • Roadmaps
  • Notes
  • Open Sources

Community

  • Discussions
  • Tech Events
  • Hackathons
  • Developer Meetups
  • Tech News

More

  • Help & Support
  • Salary Tax Calculator
  • Company Registration Guide
  • Labour Act

Stay in the loop

A weekly digest of the best tech articles and jobs in Nepal.

© 2026 TechHire Nepal. All rights reserved.

Privacy PolicyTerms of ServiceCookie Policy
HomeInterview PrepQuestion bank
Question bank

Interview Questions, Answered Clearly

Filter by the role you are applying for, open a question, and practise explaining the answer out loud. Mark it practised when you can.

Type
TechnicalCodingHR / BehaviouralAll types
Role
All rolesFrontend DeveloperBackend DeveloperFull-Stack DeveloperMobile Developer
Topic
All topicsJavaScript10React7HTML & CSS7PHP & Laravel9SQL & Databases6HTTP & REST APIs6Git4OOP & Design4Flutter5React Native5Arrays & Hashing4Strings3Searching & Stacks2Logic Basics1HR Basics9Behavioural (STAR)3
Level
AnyEasyMediumHard

5 questions

  • Why they ask this: Checks that you understand the trade-offs of the stack you are applying to work on.

    Answer

    • React Native runs your JavaScript/TypeScript React code and renders real native platform views (a <View> becomes an Android View or an iOS UIView). The New Architecture (JSI, Fabric and TurboModules) lets JavaScript call native code directly instead of through the old asynchronous bridge.
    • Flutter compiles Dart to native machine code and draws every pixel itself with its own rendering engine, so the UI looks identical on all platforms.
    • Fully native (Kotlin for Android, Swift for iOS) gives full platform access and performance but needs two codebases.

    How to choose: React Native suits teams that already know React and want to share logic with the web. Flutter offers very consistent UI and strong performance. Native is best for heavy platform-specific features. Both cross-platform options can call native modules when needed.

    Open full page
  • Why they ask this: Long lists are the most common performance problem in React Native apps.

    Answer

    • ScrollView renders all of its children at once. That is fine for short, fixed content such as a settings screen.
    • FlatList is virtualised: it renders only the items near the screen and recycles the rest. Use it for long or unknown-length lists such as feeds, job lists and chat.
    jsx
    <FlatList
      data={jobs}
      keyExtractor={(job) => String(job.id)}
      renderItem={({ item }) => <JobCard job={item} />}
      onEndReached={loadMore}          // infinite scroll
      onEndReachedThreshold={0.5}
      refreshing={refreshing}
      onRefresh={refresh}              // pull to refresh
    />

    Use SectionList for grouped data. For extra speed, memoise the item component, give a stable keyExtractor, and use getItemLayout when every row has the same height. FlashList (from Shopify) is a popular faster alternative.

    Open full page
  • Why they ask this: Android and iOS differ in many details, and real apps must handle both.

    Answer

    1. The Platform module for small differences:
    jsx
    import { Platform, StyleSheet } from 'react-native';
    
    const styles = StyleSheet.create({
      header: {
        paddingTop: Platform.OS === 'ios' ? 44 : 0,
        ...Platform.select({
          ios: { shadowOpacity: 0.2, shadowRadius: 4 },
          android: { elevation: 4 },
        }),
      },
    });
    1. Platform-specific files for bigger differences: DatePicker.ios.tsx and DatePicker.android.tsx. Importing ./DatePicker picks the right file automatically.
    2. Native modules (Kotlin/Java or Swift/Objective-C), or Expo modules, when you need an API that JavaScript cannot reach.

    Prefer safe-area handling (react-native-safe-area-context) over hard-coded paddings for notches.

    Open full page
  • Why they ask this: Offline support and secure token storage come up in nearly every mobile project.

    Answer

    Choose storage by what you are saving:

    • AsyncStorage (@react-native-async-storage/async-storage): simple, unencrypted key-value storage for small, non-sensitive data such as settings or onboarding flags.
    • MMKV (react-native-mmkv): a much faster key-value store, also synchronous.
    • Secure storage for tokens and secrets: expo-secure-store or react-native-keychain, which use the iOS Keychain and the Android Keystore.
    • A database for larger, structured or offline-first data: SQLite (expo-sqlite), WatermelonDB or Realm.
    js
    import * as SecureStore from 'expo-secure-store';
    
    await SecureStore.setItemAsync('auth_token', token);
    const saved = await SecureStore.getItemAsync('auth_token');

    Never put access tokens in AsyncStorage, and never ship API secrets inside the app bundle, because the bundle can be unpacked.

    Open full page
  • Why they ask this: Shows practical debugging experience beyond building happy-path screens.

    Answer

    Measure first:

    • Turn on the Perf Monitor in the dev menu to watch JS and UI frame rates.
    • Use React DevTools Profiler to find components that re-render too often.
    • Use Android Studio and Xcode profilers for memory and native issues.
    • Always test a release build on a real, low-end Android phone, which is what many users in Nepal have.

    Common fixes:

    • Use FlatList (or FlashList) with stable keys instead of mapping long arrays in a ScrollView.
    • Avoid unnecessary re-renders with React.memo, useCallback and useMemo, and keep state close to where it is used.
    • Resize and cache images, for example with expo-image.
    • Run animations on the UI thread with Reanimated, or useNativeDriver: true.
    • Move heavy work off the JS thread and remove console.log calls from release builds.
    • Make sure the Hermes engine is enabled (the default in current versions).
    Open full page