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)
Level
AnyEasyMediumHard

27 questions

123
3
  • Why they ask this: The most common warm-up problem; it checks whether you can trade memory for speed with a hash map.

    Given an array of integers nums and an integer target, return the indices of the two numbers that add up to target. Assume exactly one solution exists, and…

    Open full page
  • Why they ask this: Almost always the first question. It sets the tone and shows whether you can communicate clearly and stay relevant.

    How to answer

    Keep it to 60–90 seconds and make it about the job, not your life story. A simple structure is present → past → future:

    1. Present: who you are now (for example a recent BSc CSIT or BE Computer graduate) and your main skills.
    2. Past: one or two achievements that prove those skills: a final-year project, an internship, a hackathon.
    3. Future: why you are excited about this role.

    Avoid: reading your CV line by line, family details, your SLC/SEE marks, or generic words like "hard-working" without proof.

    Sample answer · STAR

    Open full page
  • Why they ask this: A fundamental algorithm; off-by-one errors in the loop are exactly what interviewers look for.

    Given a sorted (ascending) array of distinct integers nums and a target, return the index of target, or -1 if it is not present. Your solution must run in O(log…

    Open full page
  • Why they ask this: The starting point for any Laravel interview; it shows you know where code belongs.

    Answer

    Open full page
  • Why they ask this: Joining tables is daily backend work and a staple of online tests in Nepal.

    Answer

    Open full page
  • Why they ask this: A quick check of loops, indexes and the difference between bytes and characters.

    Write a function that returns the reverse of a string. Try it without using a built-in reverse helper first. Example

    Open full page
  • Why they ask this: Tests whether you understand the role and can connect your skills to the company's needs with evidence.

    How to answer

    Sample answer · STAR

    Open full page
  • Why they ask this: Tests the two-pointer technique and careful handling of edge cases like spaces and punctuation.

    A phrase is a palindrome if, after converting all letters to lowercase and removing every non-alphanumeric character, it reads the same forwards and…

    Open full page
  • Why they ask this: Filters out candidates who cannot write a simple loop with conditions; order of checks is the classic trap.

    Return a list of strings for the numbers 1 to n where: multiples of 3 become "Fizz", multiples of 5 become "Buzz", multiples of both 3 and 5 become…

    Open full page
  • Why they ask this: Checks counting with a hash map and comparing frequency, a pattern used in many string problems.

    Given two lowercase strings a and b, return true if b is an anagram of a (it uses exactly the same letters the same number of times), otherwise false. Example 1…

    Open full page
  • Why they ask this: Shows whether you researched the company or are sending the same answer everywhere.

    How to answer

    Sample answer · STAR

    Open full page
  • Why they ask this: Checks basic use of sets or hash maps, and whether you think about preserving order.

    Given an array of integers, return a new array with duplicates removed, keeping the first occurrence of each value in its original order. Try it without a…

    Open full page

"I'm Anisha, a BSc CSIT graduate from Tribhuvan University, and I focus on frontend development with React and TypeScript.

(Situation/Task) For my final-year project, our team of three built a bus-ticket booking web app for a local transport company in Pokhara, and I owned the whole frontend.

(Action) I built the seat-selection screen in React, connected it to our Laravel API, and made it work well on cheap Android phones because most of their customers book on mobile.

(Result) The company used it as a pilot for two routes, and I learnt how much real users care about speed and simple design. After that I did a three-month internship at a Kathmandu startup, where I fixed UI bugs and wrote my first unit tests.

I'm now looking for a junior frontend role where I can keep building products used by real people, and your team's work on [product] is exactly that kind of work."

MVC (Model–View–Controller) separates an application into three parts:

  • Model: data and business rules. In Laravel these are Eloquent models (app/Models), each mapped to a database table.
  • View: what the user sees. In Laravel these are Blade templates (resources/views), or JSON from API Resources in an API.
  • Controller: receives the request, calls models or services, and returns a response (app/Http/Controllers).

The flow: route (routes/web.php or routes/api.php) → middleware → controller → model → view or JSON response.

php
Route::get('/jobs/{job}', [JobController::class, 'show']);

class JobController extends Controller
{
    public function show(Job $job) // route model binding
    {
        return view('jobs.show', ['job' => $job]);
    }
}

In bigger apps, keep controllers thin and move business logic into service or action classes.

  • INNER JOIN: only rows that match in both tables.
  • LEFT JOIN: all rows from the left table, plus matches from the right. Missing matches come back as NULL.
  • RIGHT JOIN: the mirror of LEFT JOIN.
  • FULL OUTER JOIN: all rows from both tables. MySQL does not support it directly; combine a LEFT and a RIGHT JOIN with UNION.
  • CROSS JOIN: every combination of rows (a Cartesian product).
  • SELF JOIN: a table joined to itself, for example employees and their managers.
sql
-- Every company, with its job count (including companies with no jobs)
SELECT c.name, COUNT(j.id) AS jobs
FROM companies c
LEFT JOIN jobs j ON j.company_id = c.id
GROUP BY c.id, c.name;

Note that COUNT(j.id) counts only matched rows, while COUNT(*) would count 1 for a company with no jobs.

Match their needs (from the job description) to your proof. Pick the top two or three requirements and give one concrete example for each, then end with your attitude to learning.

Avoid: comparing yourself with other candidates, or vague claims ("I am a fast learner") with no example.

"Your job description asks for three things: Laravel APIs, MySQL, and working with a frontend team.

(Situation/Task) In my internship at a fintech company in Lalitpur, I was asked to build the API for a loan-application form used by their React team.

(Action) I designed the tables, wrote validation with Form Requests, documented every endpoint in Postman, and met the frontend developer daily so the JSON matched what the UI needed.

(Result) The feature went live on schedule, and the team lead asked me to write the API for the next module too.

So you would get someone who has already shipped this exact kind of work, communicates early, and is honest about what I still need to learn, which right now is writing better automated tests."

Research the company beforehand: its products and clients, its tech stack (job posts, engineering blog, GitHub), its culture, and recent news. Connect two specific things about them to your goals and skills.

Avoid: "because it's a big company", focusing only on salary, or generic praise that could apply to anyone.

"Three reasons. First, your product: I've used your hotel-booking platform when planning a trip to Mustang, and I like that it works well even on a slow mobile connection, which is the kind of engineering I want to learn.

Second, your stack: your job post mentions Laravel and Vue with automated testing, which matches what I've been practising in my projects.

Third, I read on your engineering blog that juniors get a mentor and pair-program in their first three months. Learning from experienced developers is my priority at this stage, so that's very appealing to me."