AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Java-language-question / Level: Advanced
400. Write a program to implement Dijkstra's algorithm for finding the shortest path in a graph.
401. Write a program to solve the traveling salesman problem using backtracking.
402. Write a program to implement a basic blockchain.
403. Write a program to perform matrix exponentiation.
404. Write a program to implement a LRU cache.
405. Write a program to find the longest increasing subsequence in O(n log n) time.
406. Write a program to implement the A* search algorithm.
407. Write a program to find all strongly connected components in a directed graph using Tarjan's algorithm.
408. Write a program to implement the KMP string matching algorithm.
409. Write a program to solve the knapsack problem using dynamic programming.
410. Write a program to find the shortest path in a weighted graph using Bellman-Ford algorithm.
411. Write a program to implement a simple spell checker using a trie.
412. Write a program to serialize and deserialize a binary tree.
413. Write a program to perform k-way merging of k sorted lists.
414. Write a program to implement the Rabin-Karp string matching algorithm.
415. Write a program to find the maximum flow in a flow network using the Ford-Fulkerson method.
416. Write a program to generate all combinations of a balanced parentheses string.
417. Write a program to find the nth Fibonacci number using matrix exponentiation.
418. Write a program to find all subsets of a set that sum up to a given number.
419. Write a program to find the maximum rectangle in a binary matrix of 1s.
420. Write a program to implement a dynamic programming solution for the coin change problem.
421. Write a program to find the longest palindromic substring in O(n) time.
422. Write a program to implement a basic genetic algorithm.
423. Write a program to solve the Sudoku puzzle using backtracking.
424. Write a program to implement the Merge Sort algorithm using linked lists.
425. Write a program to calculate the edit distance between two strings.
426. Write a program to implement a simple chat server using sockets.
427. Write a program to find the longest substring with at most k distinct characters using a sliding window.
428. Write a program to perform a depth-first search on a graph with cycles.
429. Write a program to implement the Floyd-Warshall algorithm for all-pairs shortest paths.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Intermediate
Most Visited
Write a program that checks if a number is a power of two.
Write a program to implement a basic version control system.
Write a program to count the number of distinct subsequences of a string.
Write a program to implement a simple online shopping cart.
Write a program to find the unique characters in a string, maintaining their order.
Write a program to implement the bubble sort algorithm.
Write a program to implement a simple chat bot.
Write a program to find all subsets of a set.
Write a program to find the longest substring without repeating characters.
Write a program to find the minimum number of operations required to convert one string to another.
Write a program to check if two strings are anagrams.
Write a program to implement a simple text-based adventure game.
Write a program to find the minimum path sum in a grid.
Write a program to implement a simple online payment system.
Write a program to check if a string is an isogram (no repeating letters).