DecodeAI
← Question Bank

SQL & Computer Science

Computer Science & Coding Interview Questions and Answers

Interview questions on Computer Science & Coding Interview Questions and Answers.

8 questions

Algorithms & Data Structures

Q1. Write a Python function to recursively read and traverse a JSON file or nested dictionary.

Sign in to bookmark

Algorithms & Data Structures

Q2. Implement an $O(N \log N)$ sorting algorithm (QuickSort or MergeSort in Python).

Sign in to bookmark

Algorithms & Data Structures

Q3. Find the length of the Longest Increasing Subsequence (LIS) in an array/string.

Sign in to bookmark

Algorithms & Data Structures

Q4. Find the Longest Common Subsequence (LCS) between two strings.

Sign in to bookmark

Algorithms & Data Structures

Q5. Traverse a Binary Tree in Pre-Order, In-Order, and Post-Order (Iterative or Recursive).

Sign in to bookmark

Algorithms & Data Structures

Q6. Given an array of integers and an integer $k $, find the total number of continuous subarrays whose sum equals$ k $in$ O(N)$ runtime.

Sign in to bookmark

Algorithms & Data Structures

Q7. Find the Median of Two Sorted Arrays in $O(\log(m+n))$ runtime.

Sign in to bookmark

Algorithms & Data Structures

Q8. Write a program to solve a Sudoku puzzle using Backtracking.

Sign in to bookmark