Crack Your First Tech Interview.
Real questions asked at Nepali IT companies, coding rounds explained step by step, HR answers that sound like you, and a checklist to know when you are ready.
Which role are you interviewing for?
Six Ways to Get Interview-Ready
Start with the question bank for your role, practise a few coding problems, then polish your HR answers.
- 63questions
Question bank
Role-wise technical questions with short, clear answers and why interviewers ask them.
Browse questions - 10problems
Coding practice
Classic coding-round problems with hints, the approach, JS and PHP solutions and complexity.
Start practising - 2guides
Take-home guides
How to ace a take-home assignment: structure, README, commits and deploying it.
Read the guides - 12questions
HR questions
"Tell me about yourself", salary expectations and more, with sample STAR answers.
Prepare answers - 1guide
Interview process
What actually happens at Nepali IT companies, from CV screening to the offer letter.
Know the process - 12steps
Ready checklist
CV, GitHub, portfolio, LinkedIn and practice. Tick them off and track your readiness.
Open checklist
Questions You Will Definitely Hear
Open a question to see a clear answer and why interviewers ask it. Mark it practised once you can explain it in your own words.
Why they ask this: Checks that you understand scope and hoisting, which explain many real bugs in JavaScript code.
Answer
varis function-scoped, is hoisted and initialised toundefined, and can be re-declared.letis block-scoped ({ ... }), is hoisted but sits in the temporal dead zone until its declaration runs, and cannot be re-declared in the same scope.constbehaves likeletbut the binding cannot be reassigned. The value itself is not frozen: you can still change an object's properties or push to an array.
jsfor (var i = 0; i < 3; i++) setTimeout(() => console.log(i)); // 3 3 3 for (let j = 0; j < 3; j++) setTimeout(() => console.log(j)); // 0 1 2 const user = { name: 'Sita' }; user.name = 'Ram'; // allowed // user = {}; // TypeError: Assignment to constant variableRule of thumb: use
constby default,letwhen you must reassign, and avoidvarin modern code.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…
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:
- Present: who you are now (for example a recent BSc CSIT or BE Computer graduate) and your main skills.
- Past: one or two achievements that prove those skills: a final-year project, an internship, a hackathon.
- 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
"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."
Why they ask this: Closures power callbacks, React hooks, module patterns and data privacy, so they show how well you know the language.
Answer
A closure is a function together with the variables from the scope where it was created. The inner function keeps access to those variables even after the outer function has returned.
jsfunction makeCounter() { let count = 0; // private to the closure return { increment: () => ++count, current: () => count, }; } const counter = makeCounter(); counter.increment(); counter.increment(); console.log(counter.current()); // 2Practical uses:
- Data privacy:
countcannot be changed from outside. - Function factories, for example
const add5 = makeAdder(5). - Callbacks and event handlers that remember values.
- React hooks: every render's handlers close over that render's state, which is why stale state bugs happen.
- Data privacy:
Why they ask this: Software is built in teams; interviewers look for respect, communication and a focus on the outcome.
How to answer
Use STAR and focus on your actions. Show that you listened, kept it about the work (not the person), found a fair solution, and that the project benefited.
Avoid: blaming a teammate, a story where you "won" the argument, or saying you have never had a conflict.
Sample answer · STAR
Situation: In our final-year project, two teammates and I were building a college attendance app. One teammate wanted to switch from React to Vue three weeks before our internal demo because he was more comfortable with it.
Task: As the person handling the frontend integration, I needed us to agree quickly without hurting the team.
Action: I asked to talk one to one first and listened to his reasons. He was struggling with React state and felt behind. I suggested we keep React because two of us already had working screens, and I offered to pair-program with him for an hour each evening that week. I also split the tasks so he owned the reports screen, which used simpler components.
Result: We finished the demo on time, he became confident with React hooks, and our supervisor rated the project "excellent". I learnt that many technical disagreements are really about confidence or workload, and that solving the real issue works better than arguing about tools.
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…
Know the Process, Ace the Take-Home
What happens at each round in Nepali IT companies, and how to hand in a take-home assignment that stands out.
- Take-home assignment
Take-Home Assignment: Build a Todo App (Frontend)
How to plan, build, test and submit a frontend take-home task that stands out: README template, folder structure, commits and a deploy checklist for Vercel or Netlify.
5 min readRead guide - Interview process
Interview Process at Nepali IT Companies
What to expect at each stage, from CV screening and the online test to the technical round, HR round and offer, plus online interview etiquette and a follow-up email template.
5 min readRead guide - Take-home assignment
Take-Home Assignment: REST API CRUD with Authentication
A backend take-home guide: API design, validation, token authentication, tests, README template and deploying to Render, with Laravel examples that apply to any stack.
5 min readRead guide
Are you interview-ready?
Recruiters check these before they call you. Tick them off one by one and watch your readiness score climb.
Open the checklistNot job-ready yet?
Build the skills first, then come back to crack the interview.
Follow a free roadmap from beginner to job-ready, with tutorials, projects and tasks in the right order.