Professional Documents
Culture Documents
Cse
Cse
Anagram: Write a function to determine if two strings are anagrams of each other.
Binary Search: Implement the binary search algorithm to find an element in a sorted
array.
Linked List: Implement a singly linked list and its basic operations like
insertion, deletion, and traversal.
Stack: Implement a stack data structure and its basic operations like push, pop,
and peek.
Queue: Implement a queue data structure and its basic operations like enqueue and
dequeue.
Find Missing Number: Given an array containing n distinct numbers taken from 0, 1,
2, ..., n, find the one that is missing from the array.
Two Sum: Given an array of integers, return indices of the two numbers such that
they add up to a specific target.
Maximum Subarray: Find the contiguous subarray within an array, which has the
largest sum.