Real questions from top companies in Python/Coding
What is the default value for float and Float in Java?
What is the difference between list1 = list2 and list1.copy()?
What programming languages are you proficient in?
What role does the executor heap size play in preventing OOM errors?
When were lambda expressions introduced in Java?
When would you use flatten, explode, or collect_list in Spark?
Which data structure occupies more memory: list or tuple? Why?
Write Java code to read a file using FileInputStream
Write Python code to print even numbers from a list.
Write Python code to remove duplicates from a string.
Write Python program to find consecutive numbers in a list.
Write a Java program using FileInputStream and BufferedReader to read data from a local file and print the output to the console
Write a Python code that determines if all the people in their seats can see the screen in the theatre.
Write a Python function to reverse all strings in a list.
Write a Python program to calculate total spending, identify top 5 users by spending, and find the most purchased product
Write a Python program to remove duplicate elements from a list while preserving the original order
Write a Python program to reverse words in a string.
Write a Python script to parse a large JSON file, filter records based on a condition, and write the result to a database.
Write a Python script to process raw JSON files containing sales data and load them into a relational database.
Write a Scala code to print prime numbers.
Type or paste your answer to any of these questions and our AI Coach scores it, highlights gaps, and rewrites it at FAANG quality. Free to try.