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 PrepCoding practice
Coding round

Practise the Coding Round

Try each problem on paper first. Stuck? Reveal one hint at a time, read the approach, then compare your code with the JS and PHP solutions.

Role
All rolesFrontend DeveloperBackend DeveloperFull-Stack DeveloperMobile Developer
Topic
All topicsArrays & Hashing4Strings3Searching & Stacks2Logic Basics1
Level
AnyEasyMediumHard

10 problems

  • #01
    EasyArrays & Hashing

    Two Sum

    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…

    O(n) O(n)
    Solve problem
  • #02
    EasySearching & Stacks

    Binary Search

    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…

    O(log n) O(1)
    Solve problem
  • #03
    EasyStrings

    Reverse a String

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

    O(n) O(n)
    Solve problem
  • #04
    EasyStrings

    Valid Palindrome

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

    O(n) O(n)
    Solve problem
  • #05
    EasyLogic Basics

    FizzBuzz

    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…

    O(n) O(n)
    Solve problem
  • #06
    EasyStrings

    Valid Anagram

    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…

    O(n) O(k), k = number of distinct characters
    Solve problem
  • #07
    MediumArrays & Hashing

    Maximum Subarray Sum (Kadane's Algorithm)

    Given an integer array nums with at least one element, find the contiguous subarray with the largest sum and return that sum. Example 1 Example 2

    O(n) O(1)
    Solve problem
  • #08
    EasyArrays & Hashing

    Remove Duplicates from an Array

    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…

    O(n) O(n)
    Solve problem
  • #09
    MediumArrays & Hashing

    Flatten a Nested Array

    Given an array that can contain numbers and other arrays nested to any depth, return a single flat array with all the values in their original order. Example

    O(n), n = total number of values and arrays O(n + d), d = nesting depth
    Solve problem
  • #10
    EasySearching & Stacks

    Valid Parentheses

    Given a string s containing only the characters (, ), {, }, [ and ], return true if: every opening bracket is closed by the same type of bracket, and brackets…

    O(n) O(n)
    Solve problem