Logo
PublicationTech InterviewYouTubeSay Hello

#DSA

Popular Tags
  • #JAVASCRIPT
  • #ANDROID
  • #NODEJS
  • #BACKEND
  • #MACHINE_LEARNING
AfterAcademy Tech

AfterAcademy Tech

Min Stack Problem

This is an interview problem asked in companies like Amazon, Microsoft, Yahoo and Adobe. The problem is to design a stack that will support push(), pop(), top() and getMin() operation in constant time. We will be discussing two different ways to approach this problem.

01 May 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Search For A Range In Sorted Array

Given a sorted array A[] with possibly duplicate elements, write a program to find indexes of first and last occurrences of an element k in the given array. This question will clear your concept of Binary Search

01 May 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Inversion Count in an Array-Interview Problem

Given an array of integers A[ ], if i < j and A[i] > A[j] then the pair (i, j) is called the inversion of an array A[ ]. You need to write a program to find the total counts of inversion in an array A[ ]. The inversion count of an array suggests how close the array is from being sorted. This problem has been asked in Amazon and Google's interview.

01 May 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

How to become Developer Student Clubs Leads?

If you want to share your knowledge with others and want to learn back from them, then you must be in some community. Developer Student Clubs is one such community by Google Developers. Learn how to become a Developer Student Clubs lead at your campus.

08 Apr 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Heap Building and Heap Sort

Heap is a very useful data structure that every programmer should know well. The heap data structure is used in Heap Sort, Priority Queues. The understanding of heaps helps us to know about memory management. In this blog, we will discuss the various about Heap Building and Heap Sort.

07 Apr 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Longest Increasing Subsequence - Interview Problem

You are given an array A with N elements. You need to find the longest increasing subsequence in the array.

07 Apr 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Longest Common Prefix

Find the LCP. This is a very famous interview problem and demonstrates the use of various approaches and techniques to solve.

07 Apr 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Remove Nth Node From End of List

You are given a linked list, write a program to remove the nth node from the end of the list and return the head. This problem has been previously asked in Google and Amazon and requires the understanding of the linked list to solve it.

06 Apr 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Sort A Stack Using Another Stack

Given a stack, you have to sort it in ascending order. You can use another stack if you need auxiliary space. The problem is asked in Google, Microsoft and Amazon and requires knowledge of Stack and recursion to solve it.

06 Apr 2020
Thumbnail

AfterAcademy Tech

AfterAcademy Tech

Edit Distance

Write an algorithm to find the minimum number of operations required to convert string S1 into S2.

06 Apr 2020
Thumbnail

  • 1
  • …
  • 6
  • 7
  • 8
  • …
  • 17

Popular Tags
  • #JAVASCRIPT
  • #ANDROID
  • #NODEJS
  • #BACKEND
  • #MACHINE_LEARNING
CONNECT WITH US

© Copyright 2025 AfterAcademy
Privacy Policy
Terms And Conditions
Cookie Policy
This website uses cookies to ensure you
get the best experience on our website.
Read More