Given a sequence of integers, there are a few sequences which result in balanced binary search trees i.e., AVL trees. Write a program that takes a sequence of integers as input and outputs the number of such sequences that result in the balanced binary search trees. Input Format: Single line contains sequence of integers terminated by -1. Output format: Print the number of AVL tree possible from that input sequence. Sample Input: 1 2 3 -1 Sample Output: 2
2468Hi my program is accesing data from two db2 databases.what is the bind card for this program to genarate plan? how to specify the two owners and two qualifiers in bind card
1 2230I want to get sales data for the last (suppose 10) dates dynamically using value prompt how can i do it and drag it onto report editor.
6 13818Hi, I got the offer letter from TCS..But the next day, HR called me and told pls dont submit ur resignation letter till we confirm you on this offer. Will they confirm on this?? anyone faced the same situation?
4 47151I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 100640What can be done incase of excess payment of TDS Remittence than the actual amount? Is there any adjustment towards the excess amount with the upcoming TDS payment?
8 32418Post New TCS Interview Questions
How do I remove duplicates in two columns?
What are all the major issues you faced during implementation ?
What is the latest version on c++?
what is the use of schema in biztalk and why we use schema?
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?
what ASIS BUSINESS PROCESS IN ORACLE FINANCE
What are the ethical considerations in deploying Generative AI solutions?
Hi all , I am planning for informatica S - PowerCenter 8 Mapping Design certification. I have rewuired the dumps for the same. if anyone of you having the same pl. share it with me. This will be of great help. My contact is : sagardev7@gmail.com TIA , Sagar
Explain the concept of SHAP and its role in XAI.
plz sent me jindal placement papers in mechanical enginnering
How does registry work wedding?
hello can yoy pls send me previous papers of jindalpower and steel ltd.....'m from instrumentation..... mani1048@gmail.com
whats ur sisters daily routine?
can anybody send me the technical papers of hewitt associates pls...I cleared aps n GD n has only less time for technical round?
HI ALL ,IAM NEW TO THIS FORUM,COULD ANYONE PLZ FOWAED INTERVIEW QUESTIONS/FAQs ON BASE CUST ,CIC AND MARKETING TO MY E-MAIL ID RAO317@GMAIL.COM.......Shiva THANKS